summaryrefslogtreecommitdiff
path: root/src/message.h
blob: d131704f9b4a7fe80e27f9e8f3f970bdf4d7a729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _MESSAGE_H
#define _MESSAGE_H

#include <sys/un.h>
#include </usr/include/stdint.h>

/*just for hash callback in proc_resp_checkresult */
typedef struct temp_buf_s
{
	char* 					buf;
	uint32_t 				size;
}temp_buf_t;


typedef struct monitor_hash_node_s
{
	uint64_t 				porg_id;
	int 					hit_service;
}monitor_hash_node_t;


#ifdef __cplusplus
extern "C" {
#endif

void* 	recv_response_msg(void *param);
void 	free_monitor_hash_node(void* data);
int 	expire_monitor_hash_node(void *data, int eliminate_type);


#ifdef __cplusplus
}
#endif

#endif