mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-25 08:30:55 +00:00
18 lines
482 B
C
18 lines
482 B
C
#ifndef test_h
|
|
#define test_h
|
|
/* test.h - unit testing definitions. */
|
|
|
|
#include "convert/defs.h"
|
|
|
|
/* List of all data files, terminated by NULL. */
|
|
extern const char *const kCharsetFilename[];
|
|
|
|
/* Print an error message and exit. */
|
|
void Dief(const char *msg, ...) __attribute__((noreturn, format(printf, 1, 2)));
|
|
|
|
/* Print an error message with an error code and exit. */
|
|
void DieErrorf(int errcode, const char *msg, ...)
|
|
__attribute__((noreturn, format(printf, 2, 3)));
|
|
|
|
#endif
|