]> git.saurik.com Git - apple/security.git/blob - OSX/authd/authtypes.h
Security-58286.41.2.tar.gz
[apple/security.git] / OSX / authd / authtypes.h
1 /* Copyright (c) 2012 Apple Inc. All Rights Reserved. */
2
3 #ifndef _SECURITY_AUTH_TYPES_H_
4 #define _SECURITY_AUTH_TYPES_H_
5
6 #include <bsm/audit.h>
7 #include <mach/message.h>
8
9 typedef struct {
10 uid_t auid;
11 uid_t euid;
12 gid_t egid;
13 uid_t ruid;
14 gid_t rgid;
15 pid_t pid;
16 au_asid_t asid;
17 int32_t tid;
18 audit_token_t opaqueToken;
19 } audit_info_s;
20
21 typedef au_asid_t session_id_t;
22 typedef struct _session_s * session_t;
23 typedef struct _process_s * process_t;
24 typedef struct _connection_s * connection_t;
25
26 typedef struct _auth_token_s * auth_token_t;
27 typedef struct _credential_s * credential_t;
28
29 typedef struct _ccaudit_s * ccaudit_t;
30 typedef struct _mechanism_s * mechanism_t;
31 typedef struct _rule_s * rule_t;
32 typedef struct _agent_s * agent_t;
33 typedef struct _engine_s * engine_t;
34
35 typedef struct _authdb_s * authdb_t;
36 typedef struct _authdb_connection_s * authdb_connection_t;
37
38 typedef struct _auth_items_s * auth_items_t;
39 typedef struct _auth_rights_s * auth_rights_t;
40
41 #endif /* !_SECURITY_AUTH_TYPES_H_ */