~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to iocore/eventsystem/P_EventSystem.h

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-05-09 01:00:04 UTC
  • mto: (1.1.11) (5.3.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20130509010004-9fqq9n0adseg3f8w
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#ifndef _P_EventSystem_h
32
32
#define _P_EventSystem_h
33
33
 
34
 
#ifndef INLINE_CC
35
 
#undef  TS_INLINE
36
 
#define TS_INLINE inline
37
 
#endif
38
 
 
39
34
#include "libts.h"
40
35
 
41
36
#include "I_EventSystem.h"
56
51
                                       EVENT_SYSTEM_MODULE_MINOR_VERSION, \
57
52
                                       PRIVATE_MODULE_HEADER)
58
53
 
59
 
 
60
 
// Macro definitions
61
 
 
62
 
// error signalling macros
63
 
#define IOCORE_SignalWarning               REC_SignalWarning
64
 
#define IOCORE_SignalError(_buf, _already)  {                                 \
65
 
  if(_already == false)                                                       \
66
 
        IOCORE_SignalManager(REC_SIGNAL_CONFIG_ERROR, _buf);                  \
67
 
  _already = true;                                                            \
68
 
  Warning("%s", _buf);                                                        \
69
 
}
70
 
#define IOCORE_SignalManager               REC_SignalManager
71
 
 
72
 
// configuration macros
73
 
#define IOCORE_RegisterConfigInteger        RecRegisterConfigInt
74
 
#define IOCORE_RegisterConfigString         RecRegisterConfigString
75
 
#define IOCORE_ReadConfigInt32              REC_ReadConfigInt32
76
 
#define IOCORE_ReadConfigInteger            REC_ReadConfigInteger
77
 
#define IOCORE_ReadConfigFloat              REC_ReadConfigFloat
78
 
#define IOCORE_ReadConfigStringAlloc        REC_ReadConfigStringAlloc
79
 
#define IOCORE_ReadConfigString             REC_ReadConfigString
80
 
#define IOCORE_RegisterConfigUpdateFunc     REC_RegisterConfigUpdateFunc
81
 
#define IOCORE_EstablishStaticConfigInteger REC_EstablishStaticConfigInteger
82
 
#define IOCORE_EstablishStaticConfigInt32   REC_EstablishStaticConfigInt32
83
 
#define IOCORE_EstablishStaticConfigInt32U  REC_EstablishStaticConfigInt32U
84
 
#define IOCORE_ConfigReadInteger            REC_ConfigReadInteger
85
 
#define IOCORE_ConfigReadString             REC_ConfigReadString
86
 
 
87
54
#endif