13 lines
220 B
C
13 lines
220 B
C
|
#ifndef CREDS_PARSER_H
|
||
|
#define 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);
|
||
|
|
||
|
#endif
|