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)  

scope.h File Reference
#include <cf3.defs.h>
#include <var_expressions.h>
Include dependency graph for scope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SpecialScope {
  SPECIAL_SCOPE_CONST , SPECIAL_SCOPE_EDIT , SPECIAL_SCOPE_MATCH , SPECIAL_SCOPE_MON ,
  SPECIAL_SCOPE_SYS , SPECIAL_SCOPE_THIS , SPECIAL_SCOPE_BODY , SPECIAL_SCOPE_DEF ,
  SPECIAL_SCOPE_NONE
}
 

Functions

const char * SpecialScopeToString (SpecialScope scope)
 
SpecialScope SpecialScopeFromString (const char *scope)
 
void ScopeAugment (EvalContext *ctx, const Bundle *bp, const Promise *pp, const Rlist *arguments)
 augments a scope, expecting corresponding lists of lvals and rvals (implying same length). in addition to copying them in, also attempts to do one-pass resolution of variables, and evaluates function calls, and attempts expansion on senior scope members. More...
 
void ScopeMapBodyArgs (EvalContext *ctx, const Body *body, const Rlist *args)
 
void JoinScopeName (const char *ns, const char *bundle, char scope_out[1024])
 

Enumeration Type Documentation

◆ SpecialScope

Enumerator
SPECIAL_SCOPE_CONST 
SPECIAL_SCOPE_EDIT 
SPECIAL_SCOPE_MATCH 
SPECIAL_SCOPE_MON 
SPECIAL_SCOPE_SYS 
SPECIAL_SCOPE_THIS 
SPECIAL_SCOPE_BODY 
SPECIAL_SCOPE_DEF 
SPECIAL_SCOPE_NONE 

Definition at line 32 of file scope.h.

Function Documentation

◆ JoinScopeName()

void JoinScopeName ( const char *  ns,
const char *  bundle,
char  scope_out[1024] 
)

Definition at line 333 of file scope.c.

References CF_MAXVARSIZE, and CF_NS.

◆ ScopeAugment()

void ScopeAugment ( EvalContext ctx,
const Bundle bp,
const Promise pp,
const Rlist arguments 
)

◆ ScopeMapBodyArgs()

◆ SpecialScopeFromString()

◆ SpecialScopeToString()