summaryrefslogtreecommitdiff
path: root/src/cert_session.h
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-11-05 11:38:40 +0800
committerfengweihao <[email protected]>2019-11-05 11:38:40 +0800
commit7192f437e55c9141d8cc72858295d4c5c6556616 (patch)
tree95dbf9e93da30601c34af4279ac9380251ae3d86 /src/cert_session.h
parent8b089533e9c75bc6a99917cce71bc3839dd0ab44 (diff)
* 修改编译方式为CMakev2.1.2-20191105
* 删除C++适配代码 * 修改编译告警
Diffstat (limited to 'src/cert_session.h')
-rw-r--r--src/cert_session.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/cert_session.h b/src/cert_session.h
deleted file mode 100644
index 0396898..0000000
--- a/src/cert_session.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
- > File Name: cert_session.h
- > Author:
- > Mail:
- > Created Time: Fri 01 Jun 2018 02:01:08 AM PDT
- ************************************************************************/
-
-#ifndef _CERT_SESSION_H
-#define _CERT_SESSION_H
-
-#include "event_struct.h"
-#include "MESA_list_queue.h"
-#include "rt_sync.h"
-
-struct x509_object_ctx
-{
- X509 *root;
- EVP_PKEY *key;
-
- X509 *insec_root;
- EVP_PKEY *insec_key;
-};
-
-typedef struct {
- int id;
-
- rt_pthread pid; /* unique ID of this thread */
-
- evutil_socket_t accept_fd;
-
- rt_pthread_attr *attr;
-
- struct event_base *base;
-
- struct x509_object_ctx def;
-
- struct redisAsyncContext *cl_ctx;
-
- struct redisContext *sync;
-
- void * (*routine)(void *); /** Executive entry */
-
- int field_ids; /* dispaly */
-
- int column_ids;
-
- uint64_t diffTime;
-
-} cert_thread_ctx;
-
-int cert_session_init();
-
-void sigproc(int __attribute__((__unused__))sig);
-
-#endif
-