41
41
* License as published by the Free Software Foundation; either
42
42
* version 2.1 of the License, or (at your option) any later version.
43
43
*
44
- * This library is distributed in the hope that it will be useful,
44
+ * This library is distributed in the hope that it will be useful,
45
45
* but WITHOUT ANY WARRANTY; without even the implied warranty of
46
46
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
47
47
* Lesser General Public License for more details.
48
48
*
49
49
* You should have received a copy of the GNU Lesser General Public
50
- * License along with this library; if not, write to the Free Software
50
+ * License along with this library; if not, write to the Free Software
51
51
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
52
52
*
53
53
* Authors:
73
73
* items
74
74
*/
75
75
76
- /**
77
- * Build a new item according to the specified format.
78
- * @param fmt the desired format
79
- */
80
- OSCAP_API SEXP_t * probe_item_build (const char * fmt , ...);
81
-
82
- /* SEXP_t *probe_item_creat (const char *name, SEXP_t *attrs, ...); */
83
76
/**
84
77
* Create a new item consisting of a name, optional attributes argument and an arbitrary number of entities.
85
78
* Every entity is a triple:
@@ -140,13 +133,6 @@ OSCAP_API int probe_itement_setstatus(SEXP_t * obj, const char *name, uint32_t n
140
133
*/
141
134
struct id_desc_t ;
142
135
143
- /**
144
- * Get a new unique id (within a probe) for an item.
145
- * @param id_desc pointer to a structure holding the global id context
146
- * @return a new id
147
- */
148
- OSCAP_API SEXP_t * probe_item_newid (struct id_desc_t * id_desc );
149
-
150
136
/**
151
137
* Reset the item id generator.
152
138
* @param id_desc pointer to a structure holding the global id context
@@ -172,12 +158,6 @@ OSCAP_API SEXP_t *probe_attr_creat(const char *name, const SEXP_t * val, ...);
172
158
* objects
173
159
*/
174
160
175
- /**
176
- * Build a new object according to the specified format.
177
- * @param fmt the desired format
178
- */
179
- OSCAP_API SEXP_t * probe_obj_build (const char * fmt , ...);
180
-
181
161
/**
182
162
* Create a new object consisting of a name, optional attributes argument and an arbitrary number of entities.
183
163
* Every entity is a triple:
@@ -248,15 +228,6 @@ OSCAP_API bool probe_obj_attrexists(const SEXP_t * obj, const char *name);
248
228
*/
249
229
OSCAP_API int probe_obj_setstatus (SEXP_t * obj , oval_syschar_status_t status );
250
230
251
- /**
252
- * Set status of an object's entity.
253
- * @param obj the object to be modified
254
- * @param name the name of the entity
255
- * @param n select the n-th occurence of an entity with the specified name
256
- * @param status the new status
257
- */
258
- OSCAP_API int probe_objent_setstatus (SEXP_t * obj , const char * name , uint32_t n , oval_syschar_status_t status );
259
-
260
231
/**
261
232
* Get the name of an object.
262
233
* @param obj the queried object
@@ -479,8 +450,6 @@ typedef struct probe_ctx probe_ctx;
479
450
480
451
OSCAP_API bool probe_item_filtered (const SEXP_t * item , const SEXP_t * filters );
481
452
482
- OSCAP_API int probe_result_additem (SEXP_t * result , SEXP_t * item );
483
-
484
453
/**
485
454
* Collect generated item (i.e. add it to the collected object)
486
455
* The function takes ownership of the item reference and takes
0 commit comments