Make xdump code available for future use outside the server

Move the bits useful there from src/lib/commands/xdump.c to new
include/xdump.h and src/lib/common/xdump.c.
This commit is contained in:
Markus Armbruster 2008-02-08 21:51:24 +01:00
parent 761d631816
commit 4c746b5e73
6 changed files with 298 additions and 209 deletions

View file

@ -56,12 +56,14 @@
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "file.h"
#include "match.h"
#include "nsc.h"
#include "optlist.h"
#include "prototypes.h"
#include "xdump.h"
static char *fname; /* Name of file being read */
static int lineno; /* Current line number */