16#include <gwenhywfar/syncio.h>
17#include <gwenhywfar/process.h>
18#include <gwenhywfar/debug.h>
36 if (!(toolName && *toolName)) {
GWEN_BUFFER * GWEN_Buffer_new(char *buffer, uint32_t size, uint32_t used, int take)
void GWEN_Buffer_free(GWEN_BUFFER *bf)
int GWEN_Buffer_AppendString(GWEN_BUFFER *bf, const char *buffer)
uint32_t GWEN_Buffer_GetUsedBytes(const GWEN_BUFFER *bf)
char * GWEN_Buffer_GetStart(const GWEN_BUFFER *bf)
GWEN_DB_NODE * GWB_Context_GetVars(const GWB_CONTEXT *ctx)
struct GWB_CONTEXT GWB_CONTEXT
const char * GWEN_DB_GetCharValue(GWEN_DB_NODE *n, const char *path, int idx, const char *defVal)
#define DBG_ERROR(dbg_logger, format,...)
#define GWEN_ERROR_INTERNAL
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
GWENHYWFAR_API int GWEN_Process_RunCommandWaitAndGather(const char *prg, const char *args, GWEN_BUFFER *stdOutBuffer, GWEN_BUFFER *stdErrBuffer)
int GWEN_SyncIo_Helper_WriteFile(const char *fName, const uint8_t *ptrSource, uint64_t lenSource)
int GWB_Tools_TryLink(GWB_CONTEXT *context, const char *testCode, const char *libName)