Guardtime Parameter and Task Handling SDK libparamset
Functions
wildcardexpanders.h File Reference
#include <stddef.h>
#include <stdarg.h>

Go to the source code of this file.

Functions

int PST_WCF_Win32FileWildcard (PARAM_VAL *param_value, void *ctx, int *value_shift)
 

Function Documentation

◆ PST_WCF_Win32FileWildcard()

int PST_WCF_Win32FileWildcard ( PARAM_VAL param_value,
void *  ctx,
int *  value_shift 
)

This Wildcard expander implementation enables file and directory matching with wildcard for Windows platform. It takes PARAM_VAL as input, interprets it as a file system path and matches it with file system directories as files. The original value is removed and replaced with expanded values. If no match is found, original value is still removed.

When setting this function with PARAM_SET_setWildcardExpander, set charList (may also be '?*') and ctx as NULL.

Parameters
param_valuePARAM_VAL object.
ctxAdditional ctx. Set as NULL.
value_shiftThe output parameter for the count of expanded values.
Returns
PST_OK if successful, error code otherwise. When not on Windows platform PST_PARAMETER_UNIMPLEMENTED_WILDCARD is returned.
Note
Only available on Windows platform.
See also
PARAM_setWildcardExpander and PARAM_SET_setWildcardExpander.