e9467dc540
Adds support for credential helpers Signed-off-by: umohnani8 <umohnani@redhat.com>
14 lines
No EOL
529 B
C
14 lines
No EOL
529 B
C
#include <Security/Security.h>
|
|
|
|
struct Server {
|
|
SecProtocolType proto;
|
|
char *host;
|
|
char *path;
|
|
unsigned int port;
|
|
};
|
|
|
|
char *keychain_add(struct Server *server, char *label, char *username, char *secret);
|
|
char *keychain_get(struct Server *server, unsigned int *username_l, char **username, unsigned int *secret_l, char **secret);
|
|
char *keychain_delete(struct Server *server);
|
|
char *keychain_list(char *credsLabel, char *** data, char *** accts, unsigned int *list_l);
|
|
void freeListData(char *** data, unsigned int length); |