This repository has been archived on 2024-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
probotic/include/parse.h
2023-08-03 03:15:20 -06:00

21 lines
356 B
C

#ifndef CREDS_PARSER_H
typedef struct
{
char * username;
char * password;
char * channel;
char * server;
int port;
} creds_t;
extern creds_t creds;
DECL char * slurp(const char * fn);
DECL int parse_pair(char * const buf, size_t const len);
DECL void parse_command(char * cmd);
DECL void clean_creds(void);
#define CREDS_PARSER_H
#endif