diff options
| author | Wiimm <wiimm@wiimm.de> | 2020-11-30 16:16:56 +0100 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2020-11-30 16:16:56 +0100 |
| commit | 9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 (patch) | |
| tree | 0abd3b6a244076650e40a07e42adae9c2a6b2d8c /project/src/lib-std.h | |
| parent | a0815499b2d9014695e6e261c909476729445360 (diff) | |
SZS v2.21a
Diffstat (limited to '')
| -rw-r--r-- | project/src/lib-std.h | 45 |
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]] |
