Common platform argument parsing and usage reporting. More...
#include "hhrsdk.h"#include "skintest.h"#include "argusage.h"#include "hotfoldererrors.h"#include "jpegrast.h"#include "ldkapi.h"#include <stdlib.h>#include "swsrip.h"#include "swfrip.h"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... | |
| void | ClripOptionInitialize (HqBool sdkinit) |
| Initialise common options to empty or default values. More... | |
| 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 | ClripOptionFinalize (void) |
| Finalise allocations used for option parsing before processing jobs. | |
| 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... | |
Variables | |
| HqBool | fLogStderr |
| SwLeDoParams | doparams = { sizeof(doparams) } |
| The parameters structure used for calls to SwLeDo(). | |
| int | stuff_to_do |
Common platform argument parsing and usage reporting.