Source code of Windows XP (NT5)
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.

25 lines
517 B

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /*
  3. * Argument structure
  4. * Caller should initialize using args_init(). Use args_reset() to
  5. * reset values, args_free() to free memory allocated by args_init().
  6. */
  7. struct arg_data {
  8. int argc;
  9. WCHAR **argv;
  10. int argvlen;
  11. WCHAR **argvp;
  12. int buflen;
  13. WCHAR *buf;
  14. WCHAR *bufptr;
  15. WCHAR *bufend;
  16. };
  17. typedef struct arg_data ARGS;
  18. /*
  19. * minimum size for argv/string buffer allocation
  20. */
  21. #define MIN_ARG_ALLOC 128
  22. #define MIN_BUF_ALLOC 1024