char *s
)
{
- int n;
-
if ( *a == NULL ) {
*a = (char **) malloc( (BUFSIZ + 1) * sizeof(char *) );
*cur = 0;
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop, status;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
+ int i, stop;
char *linep, *buf;
char line[BUFSIZ];
int lineno, elineno;
struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
- Avlnode *avltypes = NULL;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop, status;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
+ int i, stop;
char *linep, *buf;
char line[BUFSIZ];
int lineno, elineno;
struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
- Avlnode *avltypes = NULL;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop, status;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
- char *linep, *buf;
+ int i, stop;
+ char *buf;
char line[BUFSIZ], idbuf[BUFSIZ];
int lmax, lcur;
int dbnum;
struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
- Avlnode *avltypes = NULL;
FILE *fp;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
vals[0] = &bv;
vals[1] = NULL;
while ( ! stop ) {
- char *type, *val, *s;
- int vlen;
Datum key, data;
ldbm_datum_init( key );
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop, status;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
- char *linep, *buf;
+ int i, stop;
+ char *buf;
char line[BUFSIZ], idbuf[BUFSIZ];
int lmax, lcur;
int dbnum;
struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
- Avlnode *avltypes = NULL;
FILE *fp;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
vals[0] = &bv;
vals[1] = NULL;
while ( ! stop ) {
- char *type, *val, *s;
- int vlen;
Datum key, data;
ldbm_datum_init( key );
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
+ int i, stop;
char *tailorfile, *inputfile;
char *linep, *buf, *attr;
char line[BUFSIZ];
int
main( int argc, char **argv )
{
- int i, cargc, indb, stop;
- char *cargv[MAXARGS];
- char *defargv[MAXARGS];
+ int i, stop;
char *tailorfile, *inputfile;
char *linep, *buf, *attr;
char line[BUFSIZ];
static void fork_child( char *prog, char *args[] );
static void wait4kids( int nkidval );
-static char *indexcmd;
static char *tailorfile;
static char *inputfile;
static int maxkids = 1;
int
main( int argc, char **argv )
{
- int i, stop, status;
+ int i, stop;
char *linep, *buf, *sbindir;
char *args[MAXARGS];
char buf2[20], buf3[20];
while ( ! stop ) {
char *type, *val, *s;
int vlen, indexmask, syntaxmask;
- Datum key, data;
-
- ldbm_datum_init( key );
- ldbm_datum_init( data );
if ( fgets( line, sizeof(line), stdin ) != NULL ) {
int len;
static void
fork_child( char *prog, char *args[] )
{
- int status, pid;
+ int pid;
wait4kids( maxkids );
static void fork_child( char *prog, char *args[] );
static void wait4kids( int nkidval );
-static char *indexcmd;
static char *tailorfile;
static char *inputfile;
static int maxkids = 1;
int
main( int argc, char **argv )
{
- int i, stop, status;
+ int i, stop;
char *linep, *buf, *sbindir;
char *args[MAXARGS];
char buf2[20], buf3[20];
while ( ! stop ) {
char *type, *val, *s;
int vlen, indexmask, syntaxmask;
- Datum key, data;
-
- ldbm_datum_init( key );
- ldbm_datum_init( data );
if ( fgets( line, sizeof(line), stdin ) != NULL ) {
int len;
static void
fork_child( char *prog, char *args[] )
{
- int status, pid;
+ int pid;
wait4kids( maxkids );
)
{
FILE *fp, *lfp;
- Rq *rq = sglob->rq;
char *p;
if ( acquire_lock( f, &fp, &lfp ) < 0 ) {
return( 1 );
#else
- int status;
int i;
/*
int
main( int argc, char **argv )
{
- int i, j;
+ int i;
char *host = "localhost";
int port = -1;
char *manager = NULL;
int
main( int argc, char **argv )
{
- int i, j;
+ int i;
char *host = "localhost";
int port = -1;
char *entry = NULL;
int
main( int argc, char **argv )
{
- int i, j;
+ int i;
char *host = "localhost";
int port = -1;
char *sbase = NULL;
static void
fork_child( char *prog, char *args[] )
{
- int status, pid;
+ int pid;
wait4kids( maxkids );