Gocator API
 All Classes Files Functions Variables Typedefs Macros Groups Pages
GoSdkLib.h
Go to the documentation of this file.
1 /**
2  * @file GoSdkLib.h
3  * @brief Gocator SDK library management functions.
4  *
5  * @internal
6  * Copyright (C) 2014 by LMI Technologies Inc.
7  * Licensed under the MIT License.
8  * Redistributed files must retain the above copyright notice.
9  */
10 #ifndef GO_SDK_LIB_H
11 #define GO_SDK_LIB_H
12 
13 #include <GoSdk/GoSdkDef.h>
14 #include <kApi/kAssembly.h>
16 
17 /**
18  */
19 
20 /**
21  * Constructs the Gocator SDK library.
22  *
23  * This function should be called prior to calling any other Gocator SDK functions.
24  * When the library is no longer needed, call kObject_Destroy on the assembly object
25  * that is returned by this function.
26  *
27  * This function can safely be called multiple times. In order to ensure
28  * final cleanup, kObject_Destroy must be invoked a corresponding number of times.
29  *
30  * @public
31  * @param assembly Receives an assembly object representing the GoSdk library.
32  * @return Operation status.
33  */
34 GoFx(kStatus) GoSdk_Construct(kAssembly* assembly);
35 
36 kEndHeader()
37 #include <GoSdk/GoSdkLib.x.h>
38 
39 #endif
Essential SDK declarations.
kBeginHeader() kStatus GoSdk_Construct(kAssembly *assembly)
Constructs the Gocator SDK library.