|
root / base / usr / src / contrib / mDNSResponder / mDNSPosix / posix_utilities.h
posix_utilities.h C 17 lines 395 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//
//  posix_utilities.h
//  mDNSResponder
//
//  Copyright (c) 2019 Apple Inc. All rights reserved.
//

#ifndef posix_utilities_h
#define posix_utilities_h

#include "mDNSEmbeddedAPI.h"

// timestamp format: "2008-08-08 20:00:00.000000+0800", a 64-byte buffer is enough to store the result
extern void getLocalTimestamp(char * const buffer, mDNSu32 buffer_len);

#endif /* posix_utilities_h */