You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
810 B
34 lines
810 B
/*******************************************************************************
|
|
* SETARGVW.h
|
|
*
|
|
* argc / argv routines
|
|
*
|
|
* Copyright Citrix Systems Inc. 1995
|
|
* Copyright (C) 1997-1999 Microsoft Corp.
|
|
*
|
|
* $Author: butchd $
|
|
******************************************************************************/
|
|
|
|
/*
|
|
* 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;
|
|
WCHAR **argv;
|
|
int argvlen;
|
|
WCHAR **argvp;
|
|
int buflen;
|
|
WCHAR *buf;
|
|
WCHAR *bufptr;
|
|
WCHAR *bufend;
|
|
};
|
|
typedef struct arg_data ARGS;
|
|
|
|
/*
|
|
* minimum size for argv/string buffer allocation
|
|
*/
|
|
#define MIN_ARG_ALLOC 128
|
|
#define MIN_BUF_ALLOC 1024
|
|
|