14 lines
221 B
C
14 lines
221 B
C
#ifndef CREDS_PARSER_H
|
|
|
|
typedef struct
|
|
{
|
|
char * username;
|
|
char * password;
|
|
} creds_t;
|
|
|
|
int parse_creds(creds_t * creds, char const * creds_file);
|
|
void clean_creds(creds_t * creds);
|
|
|
|
#define CREDS_PARSER_H
|
|
#endif
|