]>
git.saurik.com Git - apple/securityd.git/blob - libsecurity_agent/lib/utils.h
5 * Copyright (c) 2010 Apple Inc. All rights reserved.
10 #include <bsm/audit.h>
12 #if defined(__cplusplus)
16 #define UUID_INITIALIZER_FROM_SESSIONID(sessionid) \
17 { 0,0,0,0, 0,0,0,0, 0,0,0,0, \
18 (0xff000000 & (sessionid))>>24, (0x00ff0000 & (sessionid))>>16, \
19 (0x0000ff00 & (sessionid))>>8, (0x000000ff & (sessionid)) }
21 unsigned char *uuid_init_with_sessionid(uuid_t uuid
, uint32_t sessionid
);
22 const char *uuid_to_string(const uuid_t uuid
, char *buf
);
24 #if defined(__cplusplus)