bRC getBaculaValue(bpContext *ctx, bVariable var, void *value)
Calling this entrypoint, you can obtain specific values that are available in Bacula. The following Variables can be referenced:
bVarJobId returns an int
bVarFDName returns a char *
bVarLevel returns an int
bVarClient returns a char *
bVarJobName returns a char *
bVarJobStatus returns an int
bVarSinceTime returns an int (time_t)
bVarAccurate returns an int
See also
bRC setBaculaValue(bpContext *ctx, bVariable var, void *value)
bRC DebugMessage(bpContext *ctx, const char *file, int line, int level, const char *fmt, …)
void baculaMalloc(bpContext *ctx, const char *file, int line, size_t size)
void baculaFree(bpContext *ctx, const char *file, int line, void *mem)
Possible Next Steps
Go back to Bacula Plugin Entrypoints.
Go back to Bacula FD Plugin API.
Go back to Developer Guide.