Summary: Isode provides a number of APIs which allow integrators and product developers to build components that allow client programs to connect to, query and modify data in the directory.
dsapi_common_args.h
Go to the documentation of this file.
1 /* Emacs mode: -*- C -*- */
2 
3 /*
4  * Copyright (c) 2004-2010, Isode Limited, London, England.
5  * All rights reserved.
6  *
7  * Acquisition and use of this software and related materials for any
8  * purpose requires a written licence agreement from Isode
9  * Limited, or a written licence from an organisation licenced by Isode
10  * Limited to grant such a licence.
11  *
12  */
13 
14 /*
15  * dsapi_common_args.h
16  *
17  * Common arguments.
18  *
19  */
20 
21 /*
22  *
23  *
24  * @VERSION@
25  */
26 
27 #ifndef ISODE_DSAPI_COMMON_ARGS_H
28 #define ISODE_DSAPI_COMMON_ARGS_H
29 
30 #include <isode/ds/dsapi/dsapi_cdecl.h>
31 
96 LIBDSAPI_CDECL
98  DS_CommonArgs **cp
99 );
100 
108 LIBDSAPI_CDECL
110  DS_CommonArgs *cp
111 );
112 
123 LIBDSAPI_CDECL
125  DS_CommonArgs *args,
126  int param,
127  unsigned char bool_val
128 );
129 
142 LIBDSAPI_CDECL
144  const DS_CommonArgs *args,
145  int param,
146  unsigned char *bool_val_p
147 );
148 
159 LIBDSAPI_CDECL
161  DS_CommonArgs *args,
162  int param,
163  int int_val
164 );
165 
178 LIBDSAPI_CDECL
180  const DS_CommonArgs *args,
181  int param,
182  int *int_val_p
183 );
184 
196 LIBDSAPI_CDECL
198  DS_CommonArgs *args,
199  int param,
200  unsigned char *bytes,
201  int bytes_len
202 );
203 
217 LIBDSAPI_CDECL
219  const DS_CommonArgs *args,
220  int param,
221  unsigned char **bytes,
222  int *bytes_len
223 );
224 
225 /* \} */
226 
227 #endif /* ISODE_DSAPI_COMMON_ARGS_H */
DS_Status DS_CommonArgs_GetBoolParam(const DS_CommonArgs *args, int param, unsigned char *bool_val_p)
Get the value of a boolean parameter in the DS_CommonArgs structure.
DS_Status DS_CommonArgs_New(DS_CommonArgs **cp)
Allocate a new DS_CommonArgs structure.
DS_Status DS_CommonArgs_Delete(DS_CommonArgs *cp)
Delete a DS_CommonArgs structure.
DS_Status DS_CommonArgs_SetIntParam(DS_CommonArgs *args, int param, int int_val)
Set an integer parameter in the DS_CommonArgs structure.
DS_Status DS_CommonArgs_GetIntParam(const DS_CommonArgs *args, int param, int *int_val_p)
Get the value of an integer parameter in the DS_CommonArgs structure.
DS_Status DS_CommonArgs_GetBytesParam(const DS_CommonArgs *args, int param, unsigned char **bytes, int *bytes_len)
Get the value of an integer parameter in the DS_CommonArgs structure.
DS_Status DS_CommonArgs_SetBoolParam(DS_CommonArgs *args, int param, unsigned char bool_val)
Set a boolean parameter in the DS_CommonArgs structure.
DS_Status DS_CommonArgs_SetBytesParam(DS_CommonArgs *args, int param, unsigned char *bytes, int bytes_len)
Set an octet string parameter in the DS_CommonArgs structure.
DS_Status
Definition: dsapi_const.h:66
struct DS_CommonArgs DS_CommonArgs
Definition: dsapi_types.h:158