2019-07-28 10:31:56 +08:00
|
|
|
#ifndef __ACL_MASTER_FLOW_INCLUDED_H__
|
2017-06-12 23:24:00 +08:00
|
|
|
#define __ACL_MASTER_FLOW_INCLUDED_H__
|
|
|
|
|
2019-05-18 21:19:21 +08:00
|
|
|
#include "../stdlib/acl_define.h"
|
|
|
|
|
|
|
|
#ifndef ACL_CLIENT_ONLY
|
|
|
|
|
2017-06-12 23:24:00 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef ACL_UNIX
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Functional interface.
|
|
|
|
*/
|
|
|
|
extern int acl_var_master_flow_pipe[2];
|
|
|
|
|
|
|
|
extern void acl_master_flow_init(void);
|
|
|
|
extern int acl_master_flow_get(int);
|
|
|
|
extern int acl_master_flow_put(int);
|
|
|
|
extern int acl_master_flow_count(void);
|
|
|
|
|
|
|
|
#endif /* ACL_UNIX */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2019-05-18 21:19:21 +08:00
|
|
|
|
|
|
|
#endif /* ACL_CLIENT_ONLY */
|
2017-06-12 23:24:00 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|