xref: /illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/posix_utilities.h (revision 472cd20d26008f77084ade4c2048159b98c2b705)
1*472cd20dSToomas Soome //
2*472cd20dSToomas Soome //  posix_utilities.h
3*472cd20dSToomas Soome //  mDNSResponder
4*472cd20dSToomas Soome //
5*472cd20dSToomas Soome //  Copyright (c) 2019 Apple Inc. All rights reserved.
6*472cd20dSToomas Soome //
7*472cd20dSToomas Soome 
8*472cd20dSToomas Soome #ifndef posix_utilities_h
9*472cd20dSToomas Soome #define posix_utilities_h
10*472cd20dSToomas Soome 
11*472cd20dSToomas Soome #include "mDNSEmbeddedAPI.h"
12*472cd20dSToomas Soome 
13*472cd20dSToomas Soome // timestamp format: "2008-08-08 20:00:00.000000+0800", a 64-byte buffer is enough to store the result
14*472cd20dSToomas Soome extern void getLocalTimestamp(char * const buffer, mDNSu32 buffer_len);
15*472cd20dSToomas Soome 
16*472cd20dSToomas Soome #endif /* posix_utilities_h */
17