Skip to content

Commit 50b9423

Browse files
authored
Merge pull request #1171 from cipherboy/public-headers
Public headers
2 parents 3c692c7 + 3201188 commit 50b9423

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

src/OVAL/probes/public/probe-api.h

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
* License as published by the Free Software Foundation; either
4242
* version 2.1 of the License, or (at your option) any later version.
4343
*
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,
4545
* but WITHOUT ANY WARRANTY; without even the implied warranty of
4646
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4747
* Lesser General Public License for more details.
4848
*
4949
* 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
5151
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5252
*
5353
* Authors:
@@ -73,13 +73,6 @@
7373
* items
7474
*/
7575

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, ...); */
8376
/**
8477
* Create a new item consisting of a name, optional attributes argument and an arbitrary number of entities.
8578
* Every entity is a triple:
@@ -140,13 +133,6 @@ OSCAP_API int probe_itement_setstatus(SEXP_t * obj, const char *name, uint32_t n
140133
*/
141134
struct id_desc_t;
142135

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-
150136
/**
151137
* Reset the item id generator.
152138
* @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, ...);
172158
* objects
173159
*/
174160

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-
181161
/**
182162
* Create a new object consisting of a name, optional attributes argument and an arbitrary number of entities.
183163
* Every entity is a triple:
@@ -248,15 +228,6 @@ OSCAP_API bool probe_obj_attrexists(const SEXP_t * obj, const char *name);
248228
*/
249229
OSCAP_API int probe_obj_setstatus(SEXP_t * obj, oval_syschar_status_t status);
250230

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-
260231
/**
261232
* Get the name of an object.
262233
* @param obj the queried object
@@ -479,8 +450,6 @@ typedef struct probe_ctx probe_ctx;
479450

480451
OSCAP_API bool probe_item_filtered(const SEXP_t *item, const SEXP_t *filters);
481452

482-
OSCAP_API int probe_result_additem(SEXP_t *result, SEXP_t *item);
483-
484453
/**
485454
* Collect generated item (i.e. add it to the collected object)
486455
* The function takes ownership of the item reference and takes

0 commit comments

Comments
 (0)