version 1.3, 2007/12/24 04:18:26
|
version 1.5.2.2, 2009/01/22 00:01:10
|
Line 1
|
Line 1
|
/* config.c - sock backend configuration file routine */ |
/* config.c - sock backend configuration file routine */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/config.c,v 1.2 2007/09/07 10:20:24 hyc Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/config.c,v 1.5.2.1 2008/02/09 00:46:09 quanah Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 2007 The OpenLDAP Foundation. |
* Copyright 2007-2009 The OpenLDAP Foundation. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
Line 84 bs_cf_gen( ConfigArgs *c )
|
Line 84 bs_cf_gen( ConfigArgs *c )
|
case BS_EXT: |
case BS_EXT: |
if ( c->valx < 0 ) { |
if ( c->valx < 0 ) { |
si->si_extensions = 0; |
si->si_extensions = 0; |
|
rc = 0; |
} else { |
} else { |
|
slap_mask_t dels = 0; |
|
rc = verbs_to_mask( c->argc, c->argv, bs_exts, &dels ); |
|
if ( rc == 0 ) |
|
si->si_extensions ^= dels; |
} |
} |
return mask_to_verbs( bs_exts, si->si_extensions, &c->rvalue_vals ); |
return rc; |
} |
} |
|
|
} else { |
} else { |