00001
00002
00003
00004
00005 #if !defined(_INCLUDED_SOS_GENERAL_H_HEADER__)
00006 #define _INCLUDED_SOS_GENERAL_H_HEADER__
00007
00008
00009 #if !defined(ACTIVE_MODULE)
00010 # define ACTIVE_MODULE "sos"
00011 #endif
00012
00013 #include <sul_general.h>
00014
00026 #if defined(WIN32)
00027 #if defined(LIBSOS_EXPORTS)
00028 #define SOS_DECLARE(rv) __declspec(dllexport) rv
00029 #else
00030 #define SOS_DECLARE(rv) __declspec(dllimport) rv
00031 #endif
00032 #else
00033 #define SOS_DECLARE(rv) rv
00034 #endif
00035
00036
00040 #define _PEDANTIC_FS
00041
00042 #define SOS_DECLARE_HOOK(rv, name, args) \
00043 APR_DECLARE_EXTERNAL_HOOK(sos, SOS, rv, name, args)
00044
00045 #define SOS_IMPLEMENT_HOOK_BASE(name) \
00046 APR_IMPLEMENT_EXTERNAL_HOOK_BASE(sos, SOS, name)
00047
00048 #define SOS_IMPLEMENT_HOOK_SULERR_RUN_FIRST(name, args_decl, args_use) \
00049 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(sos, SOS, sul_error_t *, name, \
00050 args_decl, args_use, NULL)
00051
00052 #define SOS_IMPLEMENT_HOOK_VOID(name, args_decl, args_use) \
00053 APR_IMPLEMENT_EXTERNAL_HOOK_VOID(sos, SOS, name, args_decl, args_use)
00054
00055 #include "sos_version.h"
00056 #include "sos_fs.h"
00057 #include "sos_txn.h"
00058 #include "sos_status.h"
00059 #include "sos_nodes.h"
00060 #include "sos_vitals.h"
00061 #include "sos_history.h"
00062 #include "sos_updates.h"
00063 #include "sos_hooks.h"
00064 #include "sos_soft.h"
00065 #include "sos_depends.h"
00066 #include "sos_wkitem.h"
00067 #include "sos_dtypes.h"
00068 #include "sos_realms.h"
00069 #include "sos_series.h"
00070 #include "sos_packages.h"
00071 #include "sos_data.h"
00072 #include "sos_notifs.h"
00073 #include "sos_tschs.h"
00074
00075 #endif