windows-nt/Source/XPSP1/NT/termsrv/admtools/utilsub/setargv.h

26 lines
512 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// Copyright (c) 1998-1999 Microsoft Corporation
/*
* Argument structure
* Caller should initialize using args_init(). Use args_reset() to
* reset values, args_free() to free memory allocated by args_init().
*/
struct arg_data {
int argc;
char **argv;
int argvlen;
char **argvp;
int buflen;
char *buf;
char *bufptr;
char *bufend;
};
typedef struct arg_data ARGS;
/*
* minimum size for argv/string buffer allocation
*/
#define MIN_ARG_ALLOC 128
#define MIN_BUF_ALLOC 1024