20 #include <sys/param.h>
56 char wd_oper_dir[ MAXPATHLEN ];
86 #define DEBUG_OUT( ... ) do { fprintf(stdout,"wd: " __VA_ARGS__ ); fprintf(stdout,"\n"); fflush(stdout); } while( 0 )
88 #define DEBUG_OUT( ... )
char * wd_bookmark_name
Name of a bookmark read from the command line on which operations should be performed.
int wd_output_all
Control whether or not all items should be output regardless of whether or not they seem to point to ...
time_t wd_now_time
Time to use as the current time when manipulating datestamps.
wd_oper_t wd_oper
Type of operation which the command line has instructed should be performed.
void init_cmdln(config_container_t *const p_config)
Initialise the specified config with default values.
char * list_fn
Directory containing list of bookmarks.
int process_cmdln(config_container_t *const p_config, const int argc, char *const argv[])
int wd_store_access
Indicate whether or not access times should be stored in the bookmarks.
int wd_prompt
Indicate whether or not to run in "interactive" mode.
wd_dir_format_t wd_dir_form
Format in which file paths should be output.
wd_entity_t wd_entity_type
Control which types of entity should be included in the output.
int process_env(config_container_t *const p_config)