aboutsummaryrefslogtreecommitdiff
path: root/project/src/lib-std.h
diff options
context:
space:
mode:
Diffstat (limited to 'project/src/lib-std.h')
-rw-r--r--project/src/lib-std.h45
1 files changed, 1 insertions, 44 deletions
diff --git a/project/src/lib-std.h b/project/src/lib-std.h
index e049a64..2230199 100644
--- a/project/src/lib-std.h
+++ b/project/src/lib-std.h
@@ -56,7 +56,7 @@
#include <arpa/inet.h>
#endif
-#include "system.h"
+#include "dclib-system.h"
#include "dclib-basics.h"
#include "dclib-file.h"
#include "dclib-debug.h"
@@ -1939,49 +1939,6 @@ valid_t IsValidCTCODE
//
///////////////////////////////////////////////////////////////////////////////
-/////////////// PrintScript ///////////////
-///////////////////////////////////////////////////////////////////////////////
-// [[PrintScript_t]]
-
-typedef struct PrintScript_t
-{
- File_t *fo; // pointer output file
- bool add_index; // true: add index to varname
- uint index; // index for array operations
- char sep[2]; // separator for JSON
- char prefix[100]; // varname prefix
-}
-PrintScript_t;
-
-static inline void InitializePrintScript ( PrintScript_t *ps )
- { DASSERT(ps); memset(ps,0,sizeof(*ps)); }
-
-static inline void ResetPrintScript ( PrintScript_t *ps )
- { DASSERT(ps); memset(ps,0,sizeof(*ps)); }
-
-///////////////////////////////////////////////////////////////////////////////
-
-void PrintScriptHeader ( PrintScript_t *ps );
-void PrintScriptFooter ( PrintScript_t *ps );
-
-int PutScriptVars
-(
- PrintScript_t *ps, // valid control struct
- uint mode, // bit field: 1=open var, 2:close var
- ccp text // text with line of format NAME=VALUE
-);
-
-int PrintScriptVars
-(
- PrintScript_t *ps, // valid control struct
- uint mode, // bit field: 1=open var, 2:close var
- ccp format, // format of message
- ... // arguments
-)
-__attribute__ ((__format__(__printf__,3,4)));
-
-//
-///////////////////////////////////////////////////////////////////////////////
/////////////// misc ///////////////
///////////////////////////////////////////////////////////////////////////////
// [[IsArena_t]]