summaryrefslogtreecommitdiff
path: root/daemon/basic.h
blob: 775a3a77689fea5e8598955eacf9a25fe1bac767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifndef __BASIC_H__
#define __BASIC_H__

#include "md5.h"

typedef struct basic_header
{
    const char* user;
    const char* password;
    unsigned char key[MD5_LEN];
}
basic_header_t;

int basic_parse(const char* header, ha_buffer_t* buf, basic_header_t* rec);

#endif /* __BASIC_H__ */