OSVR-Core
ParametersC.h
Go to the documentation of this file.
1 
13 /*
14 // Copyright 2014 Sensics, Inc.
15 //
16 // Licensed under the Apache License, Version 2.0 (the "License");
17 // you may not use this file except in compliance with the License.
18 // You may obtain a copy of the License at
19 //
20 // http://www.apache.org/licenses/LICENSE-2.0
21 //
22 // Unless required by applicable law or agreed to in writing, software
23 // distributed under the License is distributed on an "AS IS" BASIS,
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 // See the License for the specific language governing permissions and
26 // limitations under the License.
27 */
28 
29 #ifndef INCLUDED_ParametersC_h_GUID_9D762A31_83E5_47A2_7040_DBD786D9A79B
30 #define INCLUDED_ParametersC_h_GUID_9D762A31_83E5_47A2_7040_DBD786D9A79B
31 
32 /* Internal Includes */
33 #include <osvr/ClientKit/Export.h>
34 #include <osvr/Util/APIBaseC.h>
35 #include <osvr/Util/ReturnCodesC.h>
38 
39 /* Library/third-party includes */
40 /* none */
41 
42 /* Standard includes */
43 #include <stddef.h>
44 
45 OSVR_EXTERN_C_BEGIN
57 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
59  size_t *len);
60 
70 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
72  char *buf, size_t len);
73 
75 OSVR_EXTERN_C_END
76 
77 #endif
Header declaring a type and values for simple C return codes.
Header declaring opaque types used by Client and ClientKit.
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientGetStringParameter(OSVR_ClientContext ctx, const char path[], char *buf, size_t len)
Get a string parameter associated with the given path.
Definition: ParametersC.cpp:49
Header providing basic C macros for defining API headers.
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientGetStringParameterLength(OSVR_ClientContext ctx, const char path[], size_t *len)
Get the length of a string parameter associated with the given path.
Definition: ParametersC.cpp:35
Definition: ClientContext.h:50
Header containing macros for source-level annotation.