Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
ae6b117a
Commit
ae6b117a
authored
20 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
config args are ints, not longs. (64 bit compatibility)
parent
4123f29e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/config.h
+23
-23
23 additions, 23 deletions
servers/slapd/config.h
with
23 additions
and
23 deletions
servers/slapd/config.h
+
23
−
23
View file @
ae6b117a
...
...
@@ -28,31 +28,31 @@ typedef struct config_table_s {
void
*
notify
;
}
ConfigTable
;
#define ARGS_USERLAND 0x0000ffff
L
#define ARGS_TYPES 0x00ff0000
L
#define ARGS_POINTER 0x001f0000
L
#define ARGS_NUMERIC 0x000f0000
L
#define ARG_INT 0x00010000
L
#define ARG_LONG 0x00020000
L
#define ARG_BER_LEN_T 0x00040000
L
#define ARG_ON_OFF 0x00080000
L
#define ARG_STRING 0x00100000
L
#define ARG_BERVAL 0x00200000
L
/* XXX not yet */
#define ARG_EXISTS 0x00400000
L
/* XXX not yet */
#define ARG_IGNORED 0x00800000
L
#define ARGS_USERLAND 0x0000ffff
#define ARGS_TYPES 0x00ff0000
#define ARGS_POINTER 0x001f0000
#define ARGS_NUMERIC 0x000f0000
#define ARG_INT 0x00010000
#define ARG_LONG 0x00020000
#define ARG_BER_LEN_T 0x00040000
#define ARG_ON_OFF 0x00080000
#define ARG_STRING 0x00100000
#define ARG_BERVAL 0x00200000
/* XXX not yet */
#define ARG_EXISTS 0x00400000
/* XXX not yet */
#define ARG_IGNORED 0x00800000
#define ARGS_SYNTAX 0xff000000
L
#define ARG_DB 0x01000000
L
#define ARG_PRE_DB 0x02000000
L
#define ARG_PAREN 0x04000000
L
#define ARG_NONZERO 0x08000000
L
#define ARG_UNIQUE 0x10000000
L
/* XXX not yet */
#define ARG_SPECIAL 0x20000000
L
/* one special case */
#define ARG_OFFSET 0x40000000
L
#define ARG_MAGIC 0x80000000
L
#define ARGS_SYNTAX 0xff000000
#define ARG_DB 0x01000000
#define ARG_PRE_DB 0x02000000
#define ARG_PAREN 0x04000000
#define ARG_NONZERO 0x08000000
#define ARG_UNIQUE 0x10000000
/* XXX not yet */
#define ARG_SPECIAL 0x20000000
/* one special case */
#define ARG_OFFSET 0x40000000
#define ARG_MAGIC 0x80000000
#define ARG_BAD_CONF 0xdead0000
L
/* overload return values */
#define ARG_UNKNOWN 0xc0de0000
L
#define ARG_BAD_CONF 0xdead0000
/* overload return values */
#define ARG_UNKNOWN 0xc0de0000
typedef
struct
config_args_s
{
int
argc
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment