dsapi_common_args.h

Go to the documentation of this file.
00001 /* Emacs mode: -*- C -*- */
00002 
00003 /* 
00004  * Copyright (c) 2004-2007, Isode Limited, London, England.
00005  * All rights reserved.
00006  *
00007  * Acquisition and use of this software and related materials for any
00008  * purpose requires a written licence agreement from Isode
00009  * Limited, or a written licence from an organisation licenced by Isode
00010  * Limited to grant such a licence.
00011  *
00012  */
00013 
00014 /*
00015  * dsapi_common_args.h
00016  *
00017  * Common arguments.
00018  *
00019  */
00020 
00021 /* 
00022  * $RCSfile: dsapi_common_args.h,v $ $Revision: 1.14 $ $State: Exp $
00023  *
00024  * $Log: dsapi_common_args.h,v $
00025  * Revision 1.14  2007/08/28 15:00:56  cjr
00026  * T070821L - Note the new password policy common argument.
00027  *
00028  * Revision 1.13  2007/05/15 13:18:27  dbw
00029  * T070515D - Update/Add copyright
00030  *
00031  * Revision 1.12  2007/03/23 10:31:40  nh
00032  * T070322M - Correct name of DS_EXT_OPT_USEALIASONUPDATE
00033  *
00034  * Revision 1.11  2007/03/22 15:06:28  nh
00035  * T070320L - Add DS_SVC_OPT_SEARCHALIASES and DS_SVC_OPT_USEALIASONUPDATE
00036  *
00037  * Revision 1.10  2006/11/28 17:06:49  nh
00038  * T061128B - Add DS_SVC_OPT_ATTRSONLY to list of supported common arguments
00039  *
00040  * Revision 1.9  2006/07/06 14:04:14  cjr
00041  * T060706G - Add DS_SEC_SIGNED and DS_SEC_ENCRYPTED. Constify
00042  *            DS_CommonArgs_GetBoolParam() and DS_CommonArgs_GetIntParam().
00043  *
00044  * Revision 1.8  2005/07/04 12:23:43  cjr
00045  * T050704A - Change result types to DS_Status.
00046  *
00047  * Revision 1.7  2005/05/25 16:06:48  dbw
00048  * T050525C - Add or update copyright for 2005
00049  *
00050  * Revision 1.6  2005/04/05 09:30:40  cjr
00051  * T050405A - Move dsapi to under apps/ds.
00052  *
00053  * Revision 1.5  2005/02/25 12:47:33  cjr
00054  * T050223E - Improve documentation
00055  *
00056  * Revision 1.4  2005/02/15 16:50:22  cjr
00057  * Fix punctuation
00058  *
00059  * Revision 1.3  2005/01/28 12:54:37  cjr
00060  * T050128C - Fix return type for DS_CommonArgs_New.
00061  *
00062  * Revision 1.2  2005/01/27 17:14:45  cjr
00063  * T050127D - Add DS_CommonArgs_SetIntParam and DS_CommonArgs_GetIntParam.
00064  *
00065  * Revision 1.1  2005/01/24 17:19:55  dsm
00066  * T050124B - Initial revision.
00067  *
00068  *
00069  */
00070 
00071 #ifndef ISODE_DSAPI_COMMON_ARGS_H
00072 #define ISODE_DSAPI_COMMON_ARGS_H
00073 
00074 #include <isode/ds/dsapi/dsapi_cdecl.h>
00075 
00138 LIBDSAPI_CDECL
00139 DS_Status DS_CommonArgs_New (
00140     DS_CommonArgs **cp
00141 );
00142 
00150 LIBDSAPI_CDECL
00151 DS_Status DS_CommonArgs_Delete (
00152     DS_CommonArgs *cp
00153 );
00154 
00165 LIBDSAPI_CDECL
00166 DS_Status DS_CommonArgs_SetBoolParam (
00167     DS_CommonArgs *args,
00168     int            param,
00169     unsigned char  bool_val
00170 );
00171 
00184 LIBDSAPI_CDECL
00185 DS_Status DS_CommonArgs_GetBoolParam (
00186     const DS_CommonArgs *args,
00187     int                  param,
00188     unsigned char       *bool_val_p
00189 );
00190 
00201 LIBDSAPI_CDECL
00202 DS_Status DS_CommonArgs_SetIntParam (
00203     DS_CommonArgs *args,
00204     int            param,
00205     int            int_val
00206 );
00207 
00220 LIBDSAPI_CDECL
00221 DS_Status DS_CommonArgs_GetIntParam (
00222     const DS_CommonArgs *args,
00223     int                  param,
00224     int                 *int_val_p
00225 );
00226 
00227 /* \} */
00228 
00229 #endif /* ISODE_DSAPI_COMMON_ARGS_H */
Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed