1 /* Copyright (c) 2012 Apple Inc. All Rights Reserved. */
3 #ifndef _SECURITY_AUTH_CONNECTION_H_
4 #define _SECURITY_AUTH_CONNECTION_H_
6 #if defined(__cplusplus)
10 AUTH_WARN_RESULT AUTH_MALLOC AUTH_NONNULL_ALL AUTH_RETURNS_RETAINED
11 connection_t
connection_create(process_t
);
14 pid_t
connection_get_pid(connection_t
);
17 process_t
connection_get_process(connection_t
);
20 dispatch_queue_t
connection_get_dispatch_queue(connection_t
);
23 void connection_set_engine(connection_t
, engine_t
);
26 void connection_destroy_agents(connection_t
);
29 bool connection_get_syslog_warn(connection_t
);
32 void connection_set_syslog_warn(connection_t
);
34 #if defined(__cplusplus)
38 #endif /* !_SECURITY_AUTH_CONNECTION_H_ */