rules.c File Reference

#include "jam.h"
#include "lists.h"
#include "parse.h"
#include "variable.h"
#include "rules.h"
#include "newstr.h"
#include "hash.h"

Functions

RULE * bindrule (const char *rulename)
TARGET * bindtarget (const char *targetname)
TARGET * copytarget (const TARGET *ot)
void touchtarget (const char *t)
TARGETS * targetlist (TARGETS *chain, LIST *targets, char needs)
TARGETS * targetentry (TARGETS *chain, TARGET *target, char needs)
TARGETS * targetchain (TARGETS *chain, TARGETS *targets)
ACTIONS * actionlist (ACTIONS *chain, ACTION *action)
SETTINGS * addsettings (SETTINGS *head, int setflag, const char *symbol, LIST *value)
SETTINGS * copysettings (SETTINGS *from)
void pushsettings (SETTINGS *v)
void popsettings (SETTINGS *v)
void freesettings (SETTINGS *v)
void donerules ()

Variables

static struct hash * rulehash = 0
static struct hash * targethash = 0

Function Documentation

ACTIONS* actionlist ( ACTIONS *  chain,
ACTION *  action 
)

SETTINGS* addsettings ( SETTINGS *  head,
int  setflag,
const char *  symbol,
LIST *  value 
)

RULE* bindrule ( const char *  rulename  ) 

TARGET* bindtarget ( const char *  targetname  ) 

SETTINGS* copysettings ( SETTINGS *  from  ) 

TARGET* copytarget ( const TARGET *  ot  ) 

void donerules (  ) 

void freesettings ( SETTINGS *  v  ) 

void popsettings ( SETTINGS *  v  ) 

void pushsettings ( SETTINGS *  v  ) 

TARGETS* targetchain ( TARGETS *  chain,
TARGETS *  targets 
)

TARGETS* targetentry ( TARGETS *  chain,
TARGET *  target,
char  needs 
)

TARGETS* targetlist ( TARGETS *  chain,
LIST *  targets,
char  needs 
)

void touchtarget ( const char *  t  ) 


Variable Documentation

struct hash* rulehash = 0 [static]

struct hash* targethash = 0 [static]


Generated on Thu Aug 17 15:54:33 2006 for MaJam by  doxygen 1.4.7