Vstr documentation -- constants |
Compile switch constants |
Constant: VSTR_COMPILE_TYPEDEF |
Explanation: |
This switch controls whether typedef will be used for the structs in the public headers for the library. If the value is 1 then they will be used, if the value is 0 they won't be used at all (and your code will have to use struct tags instead -- note all libraries using vstr should compile with this option set). |
Global constants |
Constant: VSTR_MAX_NODE_ALL |
Explanation: |
This is the largest size a node can be, if you pass values greater than this to vstr_add_ptr() etc. then multiple nodes will be allocated. |
Constant: VSTR_MAX_NODE_BUF |
Explanation: |
This is the largest size a node _BUF type can be, if you pass values greater than this to vstr_add_buf() etc. then multiple nodes will be allocated. |
Constants for making/freeing type of nodes |
Constant: VSTR_TYPE_NODE_PTR |
Explanation: |
This type when passed to vstr_make_space_nodes() specifies nodes of type _PTR, which are nodes that contain a memory pointer to an area of memory. |
Constant: VSTR_TYPE_NODE_REF |
Explanation: |
This type when passed to vstr_make_space_nodes() specifies nodes of type _REF, which are nodes that contain a Vstr memory reference. |
Constants passed to vstr_add_vstr() and vstr_sub_vstr() |
Constant: VSTR_TYPE_ADD_DEF
Constant: VSTR_TYPE_SUB_DEF |
Explanation: |
This type when passed to either vstr_sub_vstr() or vstr_add_vstr() specifies that all types of nodes are added as their respective type. |
Constant: VSTR_TYPE_ADD_BUF_PTR
Constant: VSTR_TYPE_SUB_BUF_PTR |
Explanation: |
This type when passed to either vstr_sub_vstr() or vstr_add_vstr() specifies that all nodes of type _BUF are added as type _PTR. |
Note: |
If you add/del/sub data in the original Vstr string then because the added data is only pointers to the old data, life may become intereesting for you. |
Constant: VSTR_TYPE_ADD_BUF_REF
Constant: VSTR_TYPE_SUB_BUF_REF |
Explanation: |
This type when passed to either vstr_sub_vstr() or vstr_add_vstr() specifies that all nodes of type _BUF are converted to type _REF before being added. |
Note: |
This means that if you do a substitution on the original Vstr string it will now be less efficient, as the _REF nodes cannot have data substituted in place. The _BUF nodes will not go back to the pool in the Vstr configuration as happens if you deleted them. |
Constant: VSTR_TYPE_ADD_ALL_REF
Constant: VSTR_TYPE_SUB_ALL_REF |
Explanation: |
This type when passed to either vstr_sub_vstr() or vstr_add_vstr() specifies that the data should be taken as though vstr_export_ref() was called on the original Vstr string. |
Constant: VSTR_TYPE_ADD_ALL_BUF
Constant: VSTR_TYPE_SUB_ALL_BUF |
Explanation: |
This type when passed to either vstr_sub_vstr() or vstr_add_vstr() specifies that the data should all be added via. vstr_add_buf(). |
Constants used with vstr_fmt_add() |
Constant: VSTR_TYPE_FMT_INT |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "int" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_UINT |
Explanation: |
This flag means that vstr_add_vfmt() should expect an "unsigned int" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_LONG |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "long" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_ULONG |
Explanation: |
This flag means that vstr_add_vfmt() should expect an "unsigned long" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_LONG_LONG |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "long long" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_ULONG_LONG |
Explanation: |
This flag means that vstr_add_vfmt() should expect an "unsigned long long" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_SSIZE_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "ssize_t" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_SIZE_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "size_t" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_PTRDIFF_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "ptrdiff_t" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_INTMAX_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "intmax_t" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_UINTMAX_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "uintmax_t" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_DOUBLE |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "double" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_DOUBLE_LONG |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "long double" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_PTR_VOID |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "void *" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_PTR_CHAR |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "char *" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_PTR_WCHAR_T |
Explanation: |
This flag means that vstr_add_vfmt() should expect a "wchar_t *" type from the argument list passed to it |
Constant: VSTR_TYPE_FMT_ERRNO |
Explanation: |
This flag means that vstr_add_vfmt() should not expect any arguments passed, but should set the value of errno, just before calling the user callback, to the value upon entering vstr_add_vfmt(). |
Constants used with vstr_sc_fmt_cb_beg() |
Constant: VSTR_FLAG_SC_FMT_CB_BEG_DEF |
Explanation: |
This flag is the same as just specifying VSTR_FLAG_SC_FMT_CB_BEG_OBJ_STR. |
Constant: VSTR_FLAG_SC_FMT_CB_BEG_OBJ_NEG |
Explanation: |
This flag indicates that the number object you are printing should be treated as negative number. This flag has no meaning if VSTR_FLAG_SC_FMT_CB_BEG_OBJ_NUM is not set. |
Constants passed to vstr_conv_unprintable_*() |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_NUL |
Explanation: |
This flag allows the ASCII 0x00 byte, aka. NULL, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_BEL |
Explanation: |
This flag allows the ASCII 0x07 byte, aka. terminal bell, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_BS |
Explanation: |
This flag allows the ASCII 0x08 byte, aka. backspace, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_HT |
Explanation: |
This flag allows the ASCII 0x09 byte, aka. horizontal tab, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_LF |
Explanation: |
This flag allows the ASCII 0x0A byte, aka. line feed, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_VT |
Explanation: |
This flag allows the ASCII 0x0B byte, aka. vertical tab, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_FF |
Explanation: |
This flag allows the ASCII 0x0C byte, aka. form feed, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_CR |
Explanation: |
This flag allows the ASCII 0x0D byte, aka. cariage return, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_SP |
Explanation: |
This flag allows the ASCII 0x20 byte, aka. space, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_COMMA |
Explanation: |
This flag allows the ASCII 0x2C byte, aka. comma, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_DOT |
Explanation: |
This flag allows the ASCII 0x2E byte, aka. dot, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW__ |
Explanation: |
This flag allows the ASCII 0x5F byte, aka. underbar, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_ESC |
Explanation: |
This flag allows the ASCII 0x1B byte, aka. escape, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_ALLOW_DEL |
Explanation: |
This flag allows the ASCII 0x7F byte, aka. delete, through as a "printable" character. |
Constant: VSTR_FLAG_CONV_UNPRINTABLE_DEF |
Explanation: |
This flag is the same as using the flags for space, comma, dot and underbar. Using just this flag is probably what you'd expect an "unprintable" function to do. |
Constants used with vstr_parse_[u](short|int|long|intmax)() |
Constant: VSTR_TYPE_PARSE_NUM_ERR_NONE |
Explanation: |
This error code has the value 0, and means that no error occured parsing the number from the Vstr string. |
Constant: VSTR_TYPE_PARSE_NUM_ERR_ONLY_S |
Explanation: |
This error code means that the Vstr string consisted only of spaces. |
Constant: VSTR_TYPE_PARSE_NUM_ERR_ONLY_SPM |
Explanation: |
This error code means that the Vstr string consisted only spaces, and a plus or minus sign. |
Constant: VSTR_TYPE_PARSE_NUM_ERR_ONLY_SPMX |
Explanation: |
This error code means that the Vstr string consisted only spaces, a plus or minus sign and a "0x" base 16 prefix. |
Constant: VSTR_FLAG_PARSE_NUM_DEF |
Explanation: |
This flag is 0, and is generally only used as programmer documentation to mean no flags are applied to this function. |
Constant: VSTR_FLAG_PARSE_NUM_SPACE |
Explanation: |
This flag allows one or more ' ' (Space) characters before the number or number prefix (Plus Sign, Hyphen). |
Constant: VSTR_FLAG_PARSE_NUM_NO_BEG_ZERO |
Explanation: |
This flag disallows one or more '0' (Digit Zero) characters before the number. |
Constant: VSTR_FLAG_PARSE_NUM_NO_BEG_PM |
Explanation: |
This flag disallows a plus or a minus character before the number. |
Constants used with vstr_parse_ipv4() |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_NONE |
Explanation: |
This error code has the value 0, and means that no error occured parsing the ipv4 address from the Vstr string. |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_IPV4_OOB |
Explanation: |
This error code means that the numbers for the ipv4 address in the Vstr string where out of bounds. |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_IPV4_FULL |
Explanation: |
This error code means that the ipv4 address wasn't full (Ie. 127/8 is a non full ipv4 address with cidr mask). |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_CIDR_OOB |
Explanation: |
This error code means that the numbers for the ipv4 cidr mask in the Vstr string where out of bounds. |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_CIDR_FULL |
Explanation: |
This error code means that the ipv4 cidr mask wasn't full (Ie. 127.0.0.1/ is an ipv4 address with a non full ipv4 cidr mask). |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_NETMASK_OOB |
Explanation: |
This error code means that the numbers for the ipv4 netmask in the Vstr string where out of bounds. |
Constant: VSTR_TYPE_PARSE_IPV4_ERR_NETMASK_FULL |
Explanation: |
This error code means that the ipv4 cidr mask wasn't full (Ie. 127.0.0.1/255.0 is an ipv4 address with a non full ipv4 netmask). |
Constant: VSTR_FLAG_PARSE_IPV4_DEF |
Explanation: |
This flag is 0, and is generally only used as programmer documentation to mean no flags are applied to this function. |
Constant: VSTR_FLAG_PARSE_IPV4_ZEROS |
Explanation: |
This flag allows the use of leading zeros in the ipv4 address and masks. |
Constant: VSTR_FLAG_PARSE_IPV4_CIDR |
Explanation: |
This flag allows the parsing out of a cidr mask, if one is present. |
Constant: VSTR_FLAG_PARSE_IPV4_ONLY |
Explanation: |
This flag changes the parsing so that the function will return an error if the entire string isn't used to contain the ipv4 and option mask. |
Note: |
When this error code is returned, the ip address is still parsed out and as usable as if no error had occured. |
Constants passed to vstr_split_*() |
Constant: VSTR_FLAG_SPLIT_DEF |
Explanation: |
This flag is 0, and is generally only used as programmer documentation to mean no flags are applied to this function. |
Constant: VSTR_FLAG_SPLIT_REMAIN |
Explanation: |
This flag changes the split functions, when used with a limit, so that the last section added is for the remainder of the input. |
Constants used with vstr_sects_*() |
Constant: VSTR_FLAG_SECTS_FOREACH_DEF |
Explanation: |
This flag is 0, and is generally only used as programmer documentation to mean no flags are applied to this function. |
Constant: VSTR_FLAG_SECTS_FOREACH_BACKWARDS |
Explanation: |
This flag changes the foreach function so that it goes through the sections backwards (from the end to the begining). |
Constant: VSTR_TYPE_SECTS_FOREACH_DEF |
Explanation: |
This return value is 0, and is generally only used as programmer documentation to mean nothing special should happen on return from the callback. |
Constant: VSTR_TYPE_SECTS_FOREACH_DEL |
Explanation: |
This return value tells the foreach function to delete the current section before the next callback is called. |
Constant: VSTR_TYPE_SECTS_FOREACH_RET |
Explanation: |
This return value tells the foreach function to return immediatly (it does the same thing as a break statment in a C for loop. |
Constants passed to the cache callback function (vstr_cache_add_cb()) |
Constant: VSTR_TYPE_CACHE_DEL |
Explanation: |
This type means that a delete operation has just happened on the Vstr string, the position and length arguments are as taken from the vstr_del() function. |
Constant: VSTR_TYPE_CACHE_FREE |
Explanation: |
This type means that the data in the cache needs to be free()'d, the callback should always return NULL when this type is passed in. The position and length arguments are undefined. |
Constants used with vstr_sc_add_fd() and vstr_sc_add_file() |
Constant: VSTR_TYPE_SC_MMAP_FD_ERR_NONE
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_NONE |
Explanation: |
This error code has the value 0, and means that no error occured adding the mapping into the Vstr string. |
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_OPEN_ERRNO |
Explanation: |
This error code means that the call to open() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_MMAP_FD_ERR_FSTAT_ERRNO
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_FSTAT_ERRNO |
Explanation: |
This error code means that the call to fstat() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_MMAP_FD_ERR_MMAP_ERRNO
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_MMAP_ERRNO |
Explanation: |
This error code means that the call to mmap() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_MMAP_FD_ERR_MEM
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_MEM |
Explanation: |
This error code means that memory could not be allocated. |
Note: |
To help the programer unify error paths base->conf->malloc_bad is set to TRUE, and errno is set to ENOMEM. |
Constant: VSTR_TYPE_SC_MMAP_FD_ERR_TOO_LARGE
Constant: VSTR_TYPE_SC_MMAP_FILE_ERR_TOO_LARGE |
Explanation: |
This error code means that the memory mapping was too big to fit in the Vstr string (with LFS extentions files are 63 bits, while on a 32 bit computer memory space is still only 32 bits so this isn't a corner case). |
Note: |
To help the programer unify error paths errno is set to EFBIG. |
Constants used with vstr_sc_read_fd() |
Constant: VSTR_TYPE_SC_READ_FD_ERR_NONE
Constant: VSTR_TYPE_SC_READ_FILE_ERR_NONE |
Explanation: |
This error code has the value 0, and means that no error occured adding the read() data into the Vstr string. |
Constant: VSTR_TYPE_SC_READ_FILE_ERR_OPEN_ERRNO |
Explanation: |
This error code means that the call to open() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_READ_FD_ERR_FSTAT_ERRNO
Constant: VSTR_TYPE_SC_READ_FILE_ERR_FSTAT_ERRNO |
Explanation: |
This error code means that the call to fstat() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_READ_FILE_ERR_SEEK_ERRNO |
Explanation: |
This error code means that the call to lseek() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_READ_FD_ERR_READ_ERRNO
Constant: VSTR_TYPE_SC_READ_FILE_ERR_READ_ERRNO |
Explanation: |
This error code means that the call to readv() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_READ_FD_ERR_EOF
Constant: VSTR_TYPE_SC_READ_FILE_ERR_EOF |
Explanation: |
This error code means that the call to readv() returned 0. |
Note: |
To help the programer unify error paths errno is set to ENOSPC. |
Constant: VSTR_TYPE_SC_READ_FD_ERR_MEM
Constant: VSTR_TYPE_SC_READ_FILE_ERR_MEM |
Explanation: |
This error code means that memory could not be allocated. |
Note: |
To help the programer unify error paths base->conf->malloc_bad is set to TRUE, and errno is set to ENOMEM. |
Constant: VSTR_TYPE_SC_READ_FD_ERR_TOO_LARGE
Constant: VSTR_TYPE_SC_READ_FILE_ERR_TOO_LARGE |
Explanation: |
This error code means that the memory mapping was too big to fit in the Vstr string (with LFS extentions files are 63 bits, while on a 32 bit computer memory space is still hard limited to 32 bits so this isn't a corner case). |
Note: |
To help the programer unify error paths errno is set to EFBIG. |
Constants used with vstr_sc_write_fd() and vstr_sc_write_file() |
Constant: VSTR_TYPE_SC_WRITE_FD_ERR_NONE
Constant: VSTR_TYPE_SC_WRITE_FILE_ERR_NONE |
Explanation: |
This error code has the value 0, and means that no error occured adding the read() data into the Vstr string. |
Constant: VSTR_TYPE_SC_WRITE_FILE_ERR_SEEK_ERRNO |
Explanation: |
This error code means that the call to lseek() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_WRITE_FILE_ERR_OPEN_ERRNO |
Explanation: |
This error code means that the call to open() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_WRITE_FD_ERR_WRITE_ERRNO
Constant: VSTR_TYPE_SC_WRITE_FILE_ERR_WRITE_ERRNO |
Explanation: |
This error code means that the call to writev() returned -1, errno is set. |
Constant: VSTR_TYPE_SC_WRITE_FD_ERR_MEM
Constant: VSTR_TYPE_SC_WRITE_FILE_ERR_MEM |
Explanation: |
This error code means that memory could not be allocated. |
Note: |
To help the programer unify error paths base->conf->malloc_bad is set to TRUE, and errno is set to ENOMEM. |
Constants you pass to the vstr_cntl_base() function |
Constant: VSTR_CNTL_BASE_GET_CONF |
Parameter[1]: Return Vstr configuration Type[1]: struct Vstr_conf ** |
Explanation: |
This option will get the Vstr configuration for the Vstr string |
Constant: VSTR_CNTL_BASE_SET_CONF |
Parameter[1]: Vstr configuration Type[1]: struct Vstr_conf * |
Explanation: |
This option will set the Vstr configuration for the Vstr string. |
Note: |
This will only return successfully if either the Vstr string is empty, or the Vstr configurations have the same value for the NUM_BUF_SZ attribute. If the Vstr configuration (Parameter[1]) is NULL, then the default Vstr configuration will be used. |
Constants you pass to the vstr_cntl_conf() function |
Constant: VSTR_CNTL_CONF_SET_NUM_BUF_SZ |
Parameter[1]: Allocated size of data portion of _BUF nodes Type[1]: unsigned int |
Explanation: |
This option will set the size of the allocated portion of a _BUF type node. |
Note: |
This will fail if Vstr strings are using the Vstr configuration. |
Constant: VSTR_CNTL_CONF_GET_NUM_REF |
Parameter[1]: Returns number of references Type[1]: unsigned int * |
Explanation: |
This option will get the number of references to the Vstr configuration. |
Constant: VSTR_CNTL_CONF_GET_LOC_CSTR_NAME_NUMERIC |
Parameter[1]: Returns name of current LC_NUMERIC locale. Type[1]: const char ** |
Explanation: |
|
Constant: VSTR_CNTL_CONF_SET_LOC_CSTR_NAME_NUMERIC |
Parameter[1]: Name of LC_NUMERIC locale in Vstr configuration Type[1]: const char * |
Explanation: |
|
Constant: VSTR_CNTL_CONF_SET_LOC_CSTR_DEC_POINT |
Parameter[1]: Decimal point C string Type[1]: const char * |
Explanation: |
This option will set the value of the decimal point LC_NUMERIC locale variable. |
Constant: VSTR_CNTL_CONF_GET_LOC_CSTR_THOU_GRP |
Parameter[1]: Returns Type[1]: const char ** |
Explanation: |
This option will get the value of the thousands gropuing LC_NUMERIC locale variable. |
Constant: VSTR_CNTL_CONF_SET_LOC_CSTR_THOU_GRP |
Parameter[1]: Type[1]: const char * |
Explanation: |
This option will set the value of the thousands grouping LC_NUMERIC locale variable. |
Constant: VSTR_CNTL_CONF_SET_FLAG_DEL_SPLIT |
Parameter[1]: Value of flag Type[1]: int |
Explanation: |
This option will allow the vstr functions to split _BUF nodes on a del operations to Vstr strings. |
Constant: VSTR_CNTL_CONF_GET_FLAG_NO_ALLOC_CACHE |
Parameter[1]: Returns value of flag Type[1]: int * |
Explanation: |
This option will return the status of the flag that allows Vstr strings to cache data. |
Constant: VSTR_CNTL_CONF_GET_NUM_SPARE_BUF
Constant: VSTR_CNTL_CONF_GET_NUM_SPARE_NON Constant: VSTR_CNTL_CONF_GET_NUM_SPARE_PTR Constant: VSTR_CNTL_CONF_GET_NUM_SPARE_REF |
Parameter[1]: Returns number of spare nodes to have for the specified type Type[1]: unsigned int * |
Explanation: |
This option gets the current number of spare nodes of the specified type. |
Constant: VSTR_CNTL_CONF_SET_NUM_SPARE_BUF
Constant: VSTR_CNTL_CONF_SET_NUM_SPARE_NON Constant: VSTR_CNTL_CONF_SET_NUM_SPARE_PTR Constant: VSTR_CNTL_CONF_SET_NUM_SPARE_REF |
Parameter[1]: Number of spare nodes to have for the specified type Type[1]: unsigned int |
Explanation: |
This option is will set the number of specified nodes of the specified type, by calling either vstr_make_spare_nodes() or vstr_free_spare_nodes(). |
Note: |
When the value specified is higher and vstr calls vstr_make_spare_nodes() then a return value of FALSE means that there was a malloc error, just as if you called vstr_make_nodes directly. |
Constants you pass to the vstr_cntl_opt() function |
Constant: VSTR_CNTL_OPT_GET_CONF |
Parameter[1]: Returns Vstr configuration Type[1]: struct Vstr_conf ** |
Explanation: |
|
Constant: VSTR_CNTL_OPT_SET_CONF |
Parameter[1]: Vstr configuration Type[1]: struct Vstr_conf * |
Explanation: |
This option will set the default Vstr configuration. |