| 1 | /* |
| 2 | * Copyright 2010 Red Hat Inc., Durham, North Carolina. |
| 3 | * All Rights Reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | * Authors: |
| 20 | * "Daniel Kopecek" <[email protected]> |
| 21 | */ |
| 22 | #ifndef RBT_I64_H |
| 23 | #define RBT_I64_Hcxx . . $ `src/OVAL/probes/SEAP/generic/rbt/rbt_i64.h:23:9`! |
| 24 | |
| 25 | #include "rbt_common.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/generic/rbt/rbt_common.h`/ |
| 26 | |
| 27 | struct rbt_i64_nodecxx . . $ rbt_i64_node# { |
| 28 | int64_tcxx . . $ int64_t# keycxx . . $ rbt_i64_node#key.; |
| 29 | void *datacxx . . $ rbt_i64_node#data.; |
| 30 | }; |
| 31 | |
| 32 | typedef struct rbt_i64_nodecxx . . $ rbt_i64_node# rbt_i64_node_tcxx . . $ rbt_i64_node_t#; |
| 33 | |
| 34 | static inline struct rbt_i64_nodecxx . . $ rbt_i64_node# *rbt_i64_nodecxx . . $ rbt_i64_node(8d5ee7cd741215a0).(const struct rbt_nodecxx . . $ rbt_node# *np) |
| 35 | { |
| 36 | struct rbt_i64_nodecxx . . $ rbt_i64_node# *i64_node = (struct rbt_i64_nodecxx . . $ rbt_i64_node# *)(rbt_node_ptrcxx . . $ rbt_node_ptr(a7124440667b6d30).(np)->_nodecxx . . $ rbt_node#_node.); |
| 37 | return i64_node; |
| 38 | } |
| 39 | |
| 40 | rbt_tcxx . . $ rbt_t# *rbt_i64_newcxx . . $ rbt_i64_new(557e4aca7c153cb). (void); |
| 41 | void rbt_i64_freecxx . . $ rbt_i64_free(c2e6369c3901716e). (rbt_tcxx . . $ rbt_t# *rbt); |
| 42 | void rbt_i64_free_cbcxx . . $ rbt_i64_free_cb(7bd0bad35cac1c5c). (rbt_tcxx . . $ rbt_t# *rbt, void (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *)); |
| 43 | |
| 44 | int rbt_i64_addcxx . . $ rbt_i64_add(6611c7b51f165bf2).(rbt_tcxx . . $ rbt_t# *rbt, int64_tcxx . . $ int64_t# key, void *data, void **coll); |
| 45 | void *rbt_i64_repcxx . . $ rbt_i64_rep(7391c618a3eff694).(rbt_tcxx . . $ rbt_t# *rbt, int64_tcxx . . $ int64_t# key, void *data); |
| 46 | int rbt_i64_delcxx . . $ rbt_i64_del(ad6c390963f26e29).(rbt_tcxx . . $ rbt_t# *rbt, int64_tcxx . . $ int64_t# key, void **n); |
| 47 | int rbt_i64_getcxx . . $ rbt_i64_get(ad6c390963f26e29).(rbt_tcxx . . $ rbt_t# *rbt, int64_tcxx . . $ int64_t# key, void **data); |
| 48 | |
| 49 | int rbt_i64_walk_preordercxx . . $ rbt_i64_walk_preorder(81e48b6a90c45ffc).(rbt_tcxx . . $ rbt_t# *rbt, int (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *), rbt_walk_tcxx . . $ rbt_walk_t# flags); |
| 50 | int rbt_i64_walk_inordercxx . . $ rbt_i64_walk_inorder(81e48b6a90c45ffc).(rbt_tcxx . . $ rbt_t# *rbt, int (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *), rbt_walk_tcxx . . $ rbt_walk_t# flags); |
| 51 | int rbt_i64_walk_postordercxx . . $ rbt_i64_walk_postorder(81e48b6a90c45ffc).(rbt_tcxx . . $ rbt_t# *rbt, int (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *), rbt_walk_tcxx . . $ rbt_walk_t# flags); |
| 52 | int rbt_i64_walk_levelordercxx . . $ rbt_i64_walk_levelorder(81e48b6a90c45ffc).(rbt_tcxx . . $ rbt_t# *rbt, int (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *), rbt_walk_tcxx . . $ rbt_walk_t# flags); |
| 53 | int rbt_i64_walkcxx . . $ rbt_i64_walk(1c587b70dd44ce59).(rbt_tcxx . . $ rbt_t# *rbt, rbt_walk_tcxx . . $ rbt_walk_t# type, int (*callback)(rbt_i64_node_tcxx . . $ rbt_i64_node_t# *)); |
| 54 | size_t rbt_i64_sizecxx . . $ rbt_i64_size(6ae908cc234686bf).(rbt_tcxx . . $ rbt_t# *rbt); |
| 55 | |
| 56 | #endif /* RBT_I64_H */ |