Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,

so the routines can be called by an upcoming change for 'lpc topq/bottomq'.

MFC after:	3 days
This commit is contained in:
gad 2002-07-12 00:33:07 +00:00
parent 5d8999f18a
commit f95138e697
2 changed files with 2 additions and 2 deletions

View File

@ -93,9 +93,7 @@ extern const char *from_ip; /* client machine's IP address */
__BEGIN_DECLS
void ctl_dumpcji(FILE *_dbg_stream, const char *_heading,
struct cjobinfo *_cjinf);
void ctl_freeinf(struct cjobinfo *_cjinf);
static char *ctl_getline(struct cjobinfo *_cjinf);
struct cjobinfo *ctl_readcf(const char *_ptrname, const char *_cfname);
static void ctl_rewindcf(struct cjobinfo *_cjinf);
char *ctl_rmjob(const char *_ptrname, const char *_cfname);
__END_DECLS

View File

@ -67,5 +67,7 @@ struct cjobinfo {
#include <sys/cdefs.h>
__BEGIN_DECLS
void ctl_freeinf(struct cjobinfo *_cjinf);
struct cjobinfo *ctl_readcf(const char *_ptrname, const char *_cfname);
char *ctl_renametf(const char *_ptrname, const char *_tfname);
__END_DECLS