cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cf-agent-enterprise-stubs.h File Reference
#include <cf3.defs.h>
#include <cfnet.h>
#include <comparray.h>
#include <generic_agent.h>
Include dependency graph for cf-agent-enterprise-stubs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef bool(* CopyRegularFileFunction) (EvalContext *ctx, const char *source, const char *dest, const struct stat *sstat, const Attributes *attr, const Promise *pp, CompressedArray **inode_cache, AgentConnection *conn, PromiseResult *result)
 
typedef void(* DeleteCompressedArrayFunction) (CompressedArray *start)
 
typedef PromiseResult(* LogFileChange__type) (int32_t __start_canary, int *__successful, EvalContext *ctx, const char *file, int change, const Attributes *attr, const Promise *pp, CopyRegularFileFunction CopyRegularFilePtr, const char *destination, DeleteCompressedArrayFunction DeleteCompressedArrayPtr, int32_t __end_canary)
 
typedef void(* ReportPatches__type) (int32_t __start_canary, int *__successful, PackageManager *list, int32_t __end_canary)
 
typedef void(* Nova_TrackExecution__type) (int32_t __start_canary, int *__successful, const char *input_file, int32_t __end_canary)
 
typedef void(* GenerateReports__type) (int32_t __start_canary, int *__successful, const GenericAgentConfig *config, const EvalContext *ctx, int32_t __end_canary)
 
typedef void(* Nova_NoteAgentExecutionPerformance__type) (int32_t __start_canary, int *__successful, const char *input_file, struct timespec start, int32_t __end_canary)
 

Functions

PromiseResult LogFileChange (EvalContext *ctx, const char *file, int change, const Attributes *attr, const Promise *pp, CopyRegularFileFunction CopyRegularFilePtr, const char *destination, DeleteCompressedArrayFunction DeleteCompressedArrayPtr)
 
PromiseResult LogFileChange__stub (EvalContext *ctx, const char *file, int change, const Attributes *attr, const Promise *pp, CopyRegularFileFunction CopyRegularFilePtr, const char *destination, DeleteCompressedArrayFunction DeleteCompressedArrayPtr)
 
void ReportPatches (PackageManager *list)
 
void ReportPatches__stub (PackageManager *list)
 
void Nova_TrackExecution (const char *input_file)
 
void Nova_TrackExecution__stub (const char *input_file)
 
void GenerateReports (const GenericAgentConfig *config, const EvalContext *ctx)
 
void GenerateReports__stub (const GenericAgentConfig *config, const EvalContext *ctx)
 
void Nova_NoteAgentExecutionPerformance (const char *input_file, struct timespec start)
 
void Nova_NoteAgentExecutionPerformance__stub (const char *input_file, struct timespec start)
 

Typedef Documentation

◆ CopyRegularFileFunction

typedef bool(* CopyRegularFileFunction) (EvalContext *ctx, const char *source, const char *dest, const struct stat *sstat, const Attributes *attr, const Promise *pp, CompressedArray **inode_cache, AgentConnection *conn, PromiseResult *result)

Definition at line 38 of file cf-agent-enterprise-stubs.h.

◆ DeleteCompressedArrayFunction

typedef void(* DeleteCompressedArrayFunction) (CompressedArray *start)

Definition at line 47 of file cf-agent-enterprise-stubs.h.

◆ GenerateReports__type

typedef void(* GenerateReports__type) (int32_t __start_canary, int *__successful, const GenericAgentConfig *config, const EvalContext *ctx, int32_t __end_canary)

Definition at line 59 of file cf-agent-enterprise-stubs.h.

◆ LogFileChange__type

typedef PromiseResult(* LogFileChange__type) (int32_t __start_canary, int *__successful, EvalContext *ctx, const char *file, int change, const Attributes *attr, const Promise *pp, CopyRegularFileFunction CopyRegularFilePtr, const char *destination, DeleteCompressedArrayFunction DeleteCompressedArrayPtr, int32_t __end_canary)

Definition at line 55 of file cf-agent-enterprise-stubs.h.

◆ Nova_NoteAgentExecutionPerformance__type

typedef void(* Nova_NoteAgentExecutionPerformance__type) (int32_t __start_canary, int *__successful, const char *input_file, struct timespec start, int32_t __end_canary)

Definition at line 61 of file cf-agent-enterprise-stubs.h.

◆ Nova_TrackExecution__type

typedef void(* Nova_TrackExecution__type) (int32_t __start_canary, int *__successful, const char *input_file, int32_t __end_canary)

Definition at line 58 of file cf-agent-enterprise-stubs.h.

◆ ReportPatches__type

typedef void(* ReportPatches__type) (int32_t __start_canary, int *__successful, PackageManager *list, int32_t __end_canary)

Definition at line 57 of file cf-agent-enterprise-stubs.h.

Function Documentation

◆ GenerateReports()

void GenerateReports ( const GenericAgentConfig config,
const EvalContext ctx 
)

Referenced by main().

◆ GenerateReports__stub()

void GenerateReports__stub ( const GenericAgentConfig config,
const EvalContext ctx 
)

◆ LogFileChange()

PromiseResult LogFileChange ( EvalContext ctx,
const char *  file,
int  change,
const Attributes attr,
const Promise pp,
CopyRegularFileFunction  CopyRegularFilePtr,
const char *  destination,
DeleteCompressedArrayFunction  DeleteCompressedArrayPtr 
)

Referenced by VerifyFileIntegrity().

◆ LogFileChange__stub()

PromiseResult LogFileChange__stub ( EvalContext ctx,
const char *  file,
int  change,
const Attributes attr,
const Promise pp,
CopyRegularFileFunction  CopyRegularFilePtr,
const char *  destination,
DeleteCompressedArrayFunction  DeleteCompressedArrayPtr 
)

◆ Nova_NoteAgentExecutionPerformance()

void Nova_NoteAgentExecutionPerformance ( const char *  input_file,
struct timespec  start 
)

Referenced by main().

◆ Nova_NoteAgentExecutionPerformance__stub()

void Nova_NoteAgentExecutionPerformance__stub ( const char *  input_file,
struct timespec  start 
)

◆ Nova_TrackExecution()

void Nova_TrackExecution ( const char *  input_file)

Referenced by main().

◆ Nova_TrackExecution__stub()

void Nova_TrackExecution__stub ( const char *  input_file)

◆ ReportPatches()

void ReportPatches ( PackageManager list)

Definition at line 131 of file verify_packages.c.

References Log(), and LOG_LEVEL_VERBOSE.

Referenced by VerifyInstalledPackages().

◆ ReportPatches__stub()

void ReportPatches__stub ( PackageManager list)

Definition at line 131 of file verify_packages.c.