bugfix: __cpluscplus -> __cplusplus
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef _GLOBAL_METRICS_H
|
||||
#define _GLOBAL_METRICS_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -119,7 +119,7 @@ void global_metrics_destory(struct global_metrics *global_metrics);
|
||||
void global_metrics_update(struct global_metrics *global_metrics, struct thread_metrics *thread_metrics, int thread_id);
|
||||
void global_metrics_dump(struct global_metrics *global_metrics);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _HEALTH_CHECK_H
|
||||
#define _HEALTH_CHECK_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -32,7 +32,7 @@ int health_check_session_set_status(uint64_t session_id, int is_active);
|
||||
// return -1 : key not exist
|
||||
int health_check_session_get_mac(uint64_t session_id, u_char mac[]);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _PACKET_IO_H
|
||||
#define _PACKET_IO_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -68,7 +68,7 @@ int packet_io_polling_nf(struct packet_io *handle, struct thread_ctx *thread_ctx
|
||||
int packet_io_polling_endpoint_l3(struct packet_io *handle, struct thread_ctx *thread_ctx);
|
||||
int packet_io_polling_endpoint_l2(struct packet_io *handle, struct thread_ctx *thread_ctx);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _PACKET_TRACE_H
|
||||
#define _PACKET_TRACE_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -174,7 +174,7 @@ static inline int sf_id_tostring(struct selected_chaining *chain, char *buffer,
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _POLICY_H
|
||||
#define _POLICY_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -137,7 +137,7 @@ int policy_enforce_chaining_size(struct policy_enforcer *enforcer);
|
||||
// direction 0: I2E
|
||||
void policy_enforce_select_chainings(struct policy_enforcer *enforcer, struct session_ctx *s_ctx, struct packet *data_pkt, uint64_t rule_id, int direction);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _SCE_H
|
||||
#define _SCE_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -109,7 +109,7 @@ struct sce_ctx
|
||||
struct sce_ctx *sce_ctx_create(const char *profile);
|
||||
void sce_ctx_destory(struct sce_ctx *ctx);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _SF_METRICS_H
|
||||
#define _SF_METRICS_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -24,7 +24,7 @@ void sf_metrics_inc(struct sf_metrics *handle, struct sf_metrics_key *key, uint6
|
||||
void sf_metrics_send(struct sf_metrics *handle);
|
||||
int sf_metrics_get_interval(struct sf_metrics *handle);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _SF_STATUS_H
|
||||
#define _SF_STATUS_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -18,7 +18,7 @@ void sf_status_update(struct sf_status *handle, int sf_vsys_id, int sf_profile_i
|
||||
void sf_status_send(struct sf_status *handle);
|
||||
int sf_status_get_interval(struct sf_status *handle);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user