ed_table.c
./alRom/src/ed_table.c · 609 B
From the archive alhaen.tgz
Download the archive « Back to the archive contents
/* These are the tables for saving and editing structures */
#include <sys/types.h>
#include <sys/time.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <time.h>
#include "include.h"
/* Var edit/save table */
const struct var_type varfun_table[] =
{ { VAR_INT, save_ints, ed_ints, load_ints },
{ VAR_STR, save_string, ed_string, load_string },
{ VAR_STR_ARRAY, save_str_array, ed_str_array, load_str_array },
{ VAR_INT_ARRAY, save_int_array, ed_int_array, load_int_array },
{ VAR_FLAG, save_bits, NULL, NULL },
{ -1, NULL, NULL, NULL }
};