summaryrefslogtreecommitdiff
path: root/daemon/basic.h
blob: c28dc1e31f467f39916738491a5ae1cb66166003 (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__ */