Harlequin RIP SDK

Common platform argument parsing and usage reporting. More...

#include "skinkit.h"
#include <stdio.h>
#include <stdarg.h>

Macros

#define ENABLECOLORCONSOLE   1
 Whether to enable colorful console output, switched by the -! option.
 

Enumerations

enum  
 

Functions

int32 ClripOption (int32 option, HqBool sdkready, HqBool filenameConsumed, HqBool(*args_used)(void *data, int n), uint8 *(*arg_to_utf8)(void *data, int index, HqBool keep), uint8 *(*program_name)(void *data), void *data)
 Parse common options for all platform versions of clrip. More...
 
int32 ClripUsage (const uint8 *program, char which, const char *error,...)
 Display help information for the clrip program, optionally restricting output to just one option. More...
 
void ClripOptionInitialize (HqBool sdkinit)
 Initialise common options to empty or default values. More...
 
void ClripOptionFinalize (void)
 Finalise allocations used for option parsing before processing jobs.
 
int32 PrepareProcessing (uint8 *(*program_name)(void *data), void *data)
 Prepare to process jobs by determining whether the stuff_to_do fields are consistent, and start the appropriate extra processing threads if necessary. More...
 
void enable_color_console (int mode)
 Hook provided by platform to enable color console output.
 

Variables

HqBool fLogStderr
 
int stuff_to_do
 
SwLeDoParams doparams
 The parameters structure used for calls to SwLeDo().
 

Detailed Description

Common platform argument parsing and usage reporting.