mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 17:00:52 +08:00
9697f95b8f
This reverts commit 15d999759e
.
30 lines
666 B
C
30 lines
666 B
C
#ifndef __TRIGGER_INCLUDED_H__
|
|
#define __TRIGGER_INCLUDED_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef SUNOS5
|
|
#define ACL_LOCAL_TRIGGER acl_stream_trigger
|
|
#else
|
|
#define ACL_LOCAL_TRIGGER acl_unix_trigger
|
|
#endif
|
|
|
|
/*
|
|
* External interface.
|
|
*/
|
|
extern int acl_unix_trigger(ACL_EVENT *, const char *, const char *, int, int);
|
|
extern int acl_inet_trigger(ACL_EVENT *, const char *, const char *, int, int);
|
|
extern int acl_fifo_trigger(ACL_EVENT *, const char *, const char *, int, int);
|
|
#ifdef SUNOS5
|
|
extern int acl_stream_trigger(ACL_EVENT *, const char *, const char *, int, int);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|