selfcare init
This commit is contained in:
1 parent
19f09dd7ea
commit
aca2bace68
692 files changed
+273972
No files matched your search
@@ -0,0 +1,48 @@
|
||||
#ifndef __SELFCARE_ENDECODE_H__
|
||||
#define __SELFCARE_ENDECODE_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/socket.h>
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <event2/event.h>
|
||||
#include <event2/http.h>
|
||||
#include <event2/buffer.h>
|
||||
#include <event2/util.h>
|
||||
#include <event2/keyvalq_struct.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <json.h>
|
||||
|
||||
#include "selfcare_httpsrv.h"
|
||||
#include "restapi.h"
|
||||
|
||||
|
||||
int selfcare_decode(struct evhttp_request *req,
|
||||
const SELFCARE_URL_E req_type,
|
||||
_rest_msg_s *msg);
|
||||
|
||||
int selfcare_encode(const SELFCARE_URL_E req_type, const _rest_msg_s *udp_msg, char **buf);
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SELFCARE_ENDECODE_H__ */
|
||||
Reference in new issue
Block a user