STASIS
A pipeline delivery generator
Loading...
Searching...
No Matches
envctl.h File Reference
#include <stdlib.h>
#include "core.h"
Include dependency graph for envctl.h:

Go to the source code of this file.

Data Structures

struct  EnvCtl_Item
struct  EnvCtl

Macros

#define STASIS_ENVCTL_PASSTHRU   0
#define STASIS_ENVCTL_REQUIRED   1 << 1
#define STASIS_ENVCTL_REDACT   1 << 2
#define STASIS_ENVCTL_DEFAULT_ALLOC   100
#define STASIS_ENVCTL_RET_FAIL   (-1)
#define STASIS_ENVCTL_RET_SUCCESS   1
#define STASIS_ENVCTL_RET_IGNORE   2

Typedefs

typedef int envctl_except_fn(const void *, const void *)

Functions

struct EnvCtlenvctl_init ()
int envctl_register (struct EnvCtl **envctl, unsigned flags, envctl_except_fn *callback, const char *name)
unsigned envctl_get_flags (const struct EnvCtl *envctl, const char *name)
unsigned envctl_check_required (unsigned flags)
unsigned envctl_check_redact (unsigned flags)
int envctl_check_present (const struct EnvCtl_Item *item, const char *name)
void envctl_do_required (const struct EnvCtl *envctl, int verbose)
void envctl_free (struct EnvCtl **envctl)