mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
b7ffbdb74f
Signed-off-by: David Calavera <david.calavera@gmail.com>
13 lines
376 B
C
13 lines
376 B
C
#include <Security/Security.h>
|
|
|
|
struct Server {
|
|
SecProtocolType proto;
|
|
char *host;
|
|
char *path;
|
|
unsigned int port;
|
|
};
|
|
|
|
char *keychain_add(struct Server *server, char *username, char *password);
|
|
char *keychain_get(struct Server *server, unsigned int *username_l, char **username, unsigned int *password_l, char **password);
|
|
char *keychain_delete(struct Server *server);
|