31 #if defined(_RPMAUG_INTERNAL)
37 const char * loadpath;
42 #if defined(__LCLINT__)
71 #define rpmaugUnlink(_aug) \
72 ((rpmaug)rpmioUnlinkPoolItem((rpmioItem)(_aug), __FUNCTION__, __FILE__, __LINE__))
82 #define rpmaugLink(_aug) \
83 ((rpmaug)rpmioLinkPoolItem((rpmioItem)(_aug), __FUNCTION__, __FILE__, __LINE__))
94 #define rpmaugFree(_aug) \
95 ((rpmaug)rpmioFreePoolItem((rpmioItem)(_aug), __FUNCTION__, __FILE__, __LINE__))
131 const char * value,
int * created)
struct poptOption rpmaugPoptTable[]
Popt option table for options to configure Augeas augtool.
int rpmaugRm(rpmaug aug, const char *path)
Remove node and associated sub-tree.
void rpmaugFprintf(rpmaug aug, const char *fmt,...)
Append augeas output to an iob.
rpmaug rpmaugNew(const char *root, const char *loadpath, unsigned int flags)
Create and load a augeas wrapper.
const char * _rpmaugLoadpath
const struct poptOption _rpmaugCommandTable[]
#define rpmaugUnlink(_aug)
unsigned int _rpmaugFlags
const char const bson int mongo_write_concern int flags
int rpmaugLoad(rpmaug aug)
Load files/lenses from disk.
int rpmaugInsert(rpmaug aug, const char *path, const char *label, int before)
Insert new sibling node before/after a given node.
enum rpmRC_e rpmRC
RPM return codes.
int rpmaugDefvar(rpmaug aug, const char *name, const char *expr)
Define an augeas variable.
const char const bson const bson bson * out
int rpmaugPrint(rpmaug aug, FILE *out, const char *path)
Print node paths that match an expression.
int rpmaugMatch(rpmaug aug, const char *path, char ***matches)
Return path(s) in tree that match an expression.
int rpmaugMv(rpmaug aug, const char *src, const char *dst)
Move src node to dst node.
rpmRC rpmaugRun(rpmaug aug, const char *str, const char **resultp)
Run augeas commands from a buffer.
int rpmaugSet(rpmaug aug, const char *path, const char *value)
Set the value associated with a path.
int rpmaugDefnode(rpmaug aug, const char *name, const char *expr, const char *value, int *created)
Define an augeas node.
int rpmaugGet(rpmaug aug, const char *path, const char **value)
Get the value associated with a path.
int rpmaugSave(rpmaug aug)
Save changed files to disk, appending .augnew or .augsave as requested.