|
Krita Source Code Documentation
|
#include "xcftools.h"#include <string.h>#include <stdarg.h>#include <stdlib.h>#include <errno.h>Go to the source code of this file.
Functions | |
| int | closeout (FILE *f, const char *name) |
| void | FatalBadXCF (const char *format,...) |
| void | FatalGeneric (int status, const char *format,...) |
| void | FatalUnexpected (const char *format,...) |
| void | FatalUnsupportedXCF (const char *format,...) |
| void | gpl_blurb (void) |
| FILE * | openout (const char *name) |
| static void | vFatalGeneric (int status, const char *format, va_list args) |
| int | xcfCheckspace (uint32_t addr, int spaceafter, const char *format,...) |
| void | xcffree (void *block) |
| void * | xcfmalloc (size_t size) |
Variables | |
| const char * | progname = "$0" |
| int | verboseFlag = 0 |
| int closeout | ( | FILE * | f, |
| const char * | name ) |
Definition at line 152 of file utils.c.
References _, FatalUnexpected(), XCF_ERROR, and XCF_OK.
| void FatalBadXCF | ( | const char * | format, |
| ... ) |
Definition at line 66 of file utils.c.
References _, progname, v, and vFatalGeneric().
| void FatalGeneric | ( | int | status, |
| const char * | format, | ||
| ... ) |
| void FatalUnexpected | ( | const char * | format, |
| ... ) |
| void FatalUnsupportedXCF | ( | const char * | format, |
| ... ) |
Definition at line 102 of file utils.c.
References _, PACKAGE_STRING, and progname.
| FILE * openout | ( | const char * | name | ) |
Definition at line 138 of file utils.c.
References _, FatalUnexpected(), and XCF_PTR_EMPTY.
|
static |
Definition at line 29 of file utils.c.
References void().
| int xcfCheckspace | ( | uint32_t | addr, |
| int | spaceafter, | ||
| const char * | format, | ||
| ... ) |
Definition at line 125 of file utils.c.
References xcf_file, and xcf_length.
| void * xcfmalloc | ( | size_t | size | ) |
Definition at line 114 of file utils.c.
References _, FatalUnexpected(), and XCF_PTR_EMPTY.