(file) Return to log.h CVS log (file) (dir) Up to [OMI] / omi / base

 1 mike  1.1 /*
 2           **==============================================================================
 3           **
 4           ** Open Management Infrastructure (OMI)
 5           **
 6           ** Copyright (c) Microsoft Corporation
 7           ** 
 8           ** Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 9           ** use this file except in compliance with the License. You may obtain a copy 
10           ** of the License at 
11           **
12           **     http://www.apache.org/licenses/LICENSE-2.0 
13           **
14           ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15           ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
16           ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
17           ** MERCHANTABLITY OR NON-INFRINGEMENT. 
18           **
19           ** See the Apache 2 License for the specific language governing permissions 
20           ** and limitations under the License.
21           **
22 mike  1.1 **==============================================================================
23           */
24           
25           #ifndef _omi_log_h
26           #define _omi_log_h
27           
28 krisbash 1.3 #include "logbase.h"
29              
30              #if defined(OI_INCLUDE_HEADER)
31              # include <base/oi_traces.h>
32              #else
33              # include "omistructures.h"
34              #endif
35              #if !defined(NOTINCLUDE_OMILOGGING)
36              
37              #if defined(CONFIG_OS_WINDOWS)
38              # ifndef _oiwinomi_h
39              # define _oiwinomi_h
40              # include <base/oiwinomi.h>
41              # endif
42              #else
43              # ifndef _oiomi_h
44              # define _oiomi_h
45              # include <base/oiomi.h>
46              # endif
47              #endif //NOT_INCLUDE_OMILOGGING
48              #endif
49 mike     1.1 
50              BEGIN_EXTERNC
51              
52 krisbash 1.3 /* Creates log file name of the form "<LOGDIR>/prefix.log"*/
53              int CreateLogFileNameWithPrefix(_In_z_ const char *prefix, _Pre_writable_size_(PAL_MAX_PATH_SIZE) PAL_Char finalPath[PAL_MAX_PATH_SIZE]);
54 mike     1.1 
55              END_EXTERNC
56              
57              #endif /* _omi_log_h */
58 krisbash 1.3 

ViewCVS 0.9.2