4 #include "string-list.h"
7 struct string_list helpers
;
20 #define CREDENTIAL_INIT { STRING_LIST_INIT_DUP }
22 void credential_init(struct credential
*);
23 void credential_clear(struct credential
*);
25 void credential_fill(struct credential
*);
26 void credential_approve(struct credential
*);
27 void credential_reject(struct credential
*);
29 int credential_read(struct credential
*, FILE *);
30 void credential_write(const struct credential
*, FILE *);
31 void credential_from_url(struct credential
*, const char *url
);
32 int credential_match(const struct credential
*have
,
33 const struct credential
*want
);
35 #endif /* CREDENTIAL_H */