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:
parent
761d631816
commit
4c746b5e73
6 changed files with 298 additions and 209 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue