26 #if (defined(__SVR4) && defined(__sun)) || defined(_AIX)
34 #define ENT_GET_AREF(ent, dst, attr_name, mandatory) \
36 if (((dst) = probe_ent_getattrval(ent, attr_name)) == NULL) { \
38 _F("Attribute `%s' is missing!\n", attr_name); \
44 #define ENT_GET_STRVAL(ent, dst, dstlen, zerolen_exp) \
48 if ((___r = probe_ent_getval(ent)) == NULL) { \
49 dW("entity has no value!"); \
52 if (!SEXP_stringp(___r)) { \
53 _F("invalid type\n"); \
57 if (SEXP_string_length(___r) == 0) { \
61 SEXP_string_cstr_r(___r, dst, dstlen); \
69 FTS *ofts_match_path_fts;
70 FTSENT *ofts_match_path_fts_ent;
72 FTS *ofts_recurse_path_fts;
73 int ofts_recurse_path_fts_opts;
74 int ofts_recurse_path_curdepth;
75 char *ofts_recurse_path_pthcpy;
76 char *ofts_recurse_path_curpth;
77 dev_t ofts_recurse_path_devid;
79 pcre *ofts_path_regex;
80 pcre_extra *ofts_path_regex_extra;
81 uint32_t ofts_path_op;
97 #define OVAL_RECURSE_DIRECTION_NONE 0
98 #define OVAL_RECURSE_DIRECTION_DOWN 1
99 #define OVAL_RECURSE_DIRECTION_UP 2
101 #define OVAL_RECURSE_FILES 0x01
102 #define OVAL_RECURSE_DIRS 0x02
103 #define OVAL_RECURSE_SYMLINKS 0x04
105 #define OVAL_RECURSE_SYMLINKS_AND_DIRS (OVAL_RECURSE_SYMLINKS|OVAL_RECURSE_DIRS)
106 #define OVAL_RECURSE_FILES_AND_DIRS (OVAL_RECURSE_FILES|OVAL_RECURSE_SYMLINKS)
108 #define OVAL_RECURSE_FS_LOCAL 0
109 #define OVAL_RECURSE_FS_DEFINED 1
110 #define OVAL_RECURSE_FS_ALL 2
117 unsigned int fts_info;
Definition: oval_fts.h:112
fsdev API public header file
Definition: oval_fts.h:67
Definition: fts_sun.h:132
Filesystem device structure.
Definition: fsdev.h:42
Definition: sexp-types.h:82