anypaper_command

anypaper_command — command-line control functions

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <anypaper_preview.h>

#define             LICENSE
void                show_version_and_exit               (void);
void                show_license_and_exit               (void);
void                anypaper_command_load               (AnypaperParameters *parameters);

Description

Set of function that controls the parameters passed by the command line and the behavior of anyPaper related to them.

Details

LICENSE

#define             LICENSE

macro that defines a summary of the license used


show_version_and_exit ()

void                show_version_and_exit               (void);

shows the version of anyPaper and exits


show_license_and_exit ()

void                show_license_and_exit               (void);

shows the version of anyPaper and the content of LICENSE and exits


anypaper_command_load ()

void                anypaper_command_load               (AnypaperParameters *parameters);

This function reads the parameters passed by the command line and sets the value to the right member of AnypaperParameters

parameters :

object that contains the parameters used in anyPaper

See Also

AnypaperImage, AnypaperParameters