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