81 int main(
int argc,
char **argv)
90 if (argv[cf_index] == NULL)
91 panic(0,
"Usage: %s <store-file>", argv[0]);
101 info(0,
"Store file contains %d msg entries",
counter);
102 info(0,
"Shutting down.");
void msg_dump(Msg *msg, int level)
void info(int err, const char *fmt,...)
int main(int argc, char **argv)
static int check_args(int i, int argc, char **argv)
Msg * msg_unpack_wrapper(Octstr *os)
Octstr * octstr_imm(const char *cstr)
int store_init(Cfg *cfg, const Octstr *type, const Octstr *fname, long dump_freq, void *pack_func, void *unpack_func)
#define octstr_create(cstr)
static void print_msg(Msg *msg)
int(* store_load)(void(*receive_msg)(Msg *))
void gwlib_shutdown(void)
Octstr * msg_pack(Msg *msg)
int get_and_set_debugs(int argc, char **argv, int(*find_own)(int index, int argc, char **argv))
static XMLRPCDocument * msg