TwiceAsNice
2019-02-18
|
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "fitscat_defs.h"
#include "fitscat.h"
Functions | |
void | error (int num, char *msg1, char *msg2) |
void | error_installfunc (void(*func)(char *msg1, char *msg2)) |
void | warning (char *msg1, char *msg2) |
char * | warning_history (void) |
void | swapbytes (void *ptr, int nb, int n) |
int | wstrncmp (char *cs, char *ct, int n) |
int | findkey (char *str, char *key, int size) |
int | findnkey (char *str, char *key, int size, int nkey) |
Variables | |
static void(* | errorfunc )(char *msg1, char *msg2) = NULL |
static char | warning_historystr [WARNING_NMAX][192] ={""} |
static int | nwarning = 0 |
static int | nwarning_history = 0 |
static int | nerror = 0 |
void error | ( | int | num, |
char * | msg1, | ||
char * | msg2 | ||
) |
void error_installfunc | ( | void(*)(char *msg1, char *msg2) | func | ) |
int findkey | ( | char * | str, |
char * | key, | ||
int | size | ||
) |
int findnkey | ( | char * | str, |
char * | key, | ||
int | size, | ||
int | nkey | ||
) |
void swapbytes | ( | void * | ptr, |
int | nb, | ||
int | n | ||
) |
void warning | ( | char * | msg1, |
char * | msg2 | ||
) |
char* warning_history | ( | void | ) |
int wstrncmp | ( | char * | cs, |
char * | ct, | ||
int | n | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |