UM C API  6.16
umestored_main.h
Go to the documentation of this file.
1 
14 /*
15  $Id: //UMprod/DEV_HF_6_16/29West/lbm/src/stored/umestored_main.h#1 $
16 
17  All of the documentation and software included in this and any
18  other Informatica Inc. Ultra Messaging Releases
19  Copyright (C) Informatica. All rights reserved.
20 
21  Redistribution and use in source and binary forms, with or without
22  modification, are permitted only as covered by the terms of a
23  valid software license agreement with Informatica Inc.
24 
25  (C) Copyright 2004,2023 Informatica Inc. All Rights Reserved.
26 
27  THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES
28  EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF
29  NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
30  PURPOSE. INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE
31  UNINTERRUPTED OR ERROR-FREE. INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES, BE
32  LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR
33  INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE
34  TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF
35  THE LIKELIHOOD OF SUCH DAMAGES.
36 */
37 #ifndef UME_STORED_MAIN_H
38 #define UME_STORED_MAIN_H
39 
40 /* Directives to show how we treat exporting functions with Windows from the DLL */
41 #if defined(_WIN32) && !defined(UMESTORE_STATIC_LIB)
42 # if defined(_DLL) && defined(UMESTORE_EXPORT_SYMS)
43 # define UMEStoreExpDLL __declspec(dllexport)
44 # elif defined(UMESTORE_STATIC_LIB)
45 # define UMEStoreExpDLL
46 # else
47 # define UMEStoreExpDLL __declspec(dllimport)
48 # endif /* _DLL && UMESTORE_EXPORT_SYMS */
49 #elif defined(__TANDEM)
50 # if defined(UMESTORE_EXPORT_SYMS)
51 # define UMEStoreExpDLL export$
52 # else
53 # define UMEStoreExpDLL import$
54 # endif
55 #else
56 # define UMEStoreExpDLL
57 #endif /* _WIN32 */
58 
73 UMEStoreExpDLL int umestored_main (int argc, char **argv);
74 
84 UMEStoreExpDLL void umestored_main_shutdown ();
85 
86 
87 #endif /* UME_STORED_MAIN_H */
UMEStoreExpDLL int umestored_main(int argc, char **argv)
Start the UM persistant store as a set of threads within the calling process.
UMEStoreExpDLL void umestored_main_shutdown()
Stop the UM persistant store which is running as a set of threads within the calling process...