1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.40 08/25/16 */
/* */
/* FILE COMMANDS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Contains the code for file commands including */
/* batch, dribble-on, dribble-off, save, load, bsave, and */
/* bload. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/* 6.40: Split from filecom.c */
/* */
/*************************************************************/
#ifndef _H_fileutil
#pragma once
#define _H_fileutil
bool DribbleOn(Environment *,const char *);
bool DribbleActive(Environment *);
bool DribbleOff(Environment *);
void AppendDribble(Environment *,const char *);
int LLGetcBatch(Environment *,const char *,bool);
bool Batch(Environment *,const char *);
bool OpenBatch(Environment *,const char *,bool);
bool OpenStringBatch(Environment *,const char *,const char *,bool);
bool RemoveBatch(Environment *);
bool BatchActive(Environment *);
void CloseAllBatchSources(Environment *);
bool BatchStar(Environment *,const char *);
#endif /* _H_fileutil */