| 1 | /* |
| 2 | * Copyright 2011 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 | |
| 23 | #ifndef SEXP_MANIP_R_H |
| 24 | #define SEXP_MANIP_R_Hcxx . . $ `src/OVAL/probes/SEAP/public/sexp-manip_r.h:24:9`! |
| 25 | |
| 26 | #include <stdarg.h> |
| 27 | #include <stddef.h> |
| 28 | #include <stdint.h> |
| 29 | #include <stdbool.h> |
| 30 | #include "sexp-types.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/public/sexp-types.h`/ |
| 31 | #include "oscap_export.h"cxx . . $ `<file>/src/common/public/oscap_export.h`/ |
| 32 | |
| 33 | #ifdef __cplusplus |
| 34 | extern "C" { |
| 35 | #endif |
| 36 | |
| 37 | #if __GNUC__cxx . . $ `<built-in>:8:9`! > 2 || (__GNUC__cxx . . $ `<built-in>:8:9`! == 2 && __GNUC_MINOR__cxx . . $ `<built-in>:9:9`! > 4) |
| 38 | #define _GNUC_PRINTFcxx . . $ `src/OVAL/probes/SEAP/public/sexp-manip_r.h:38:9`!( format_idx, arg_idx ) \ |
| 39 | __attribute__((__format__ (__printf__, format_idx, arg_idx))) |
| 40 | #else /* !__GNUC__ */ |
| 41 | #define _GNUC_PRINTF( format_idx, arg_idx ) |
| 42 | #endif /* __GNUC__ */ |
| 43 | |
| 44 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_initcxx . . $ SEXP_init(478b347fcbbad3c5).(SEXP_tcxx . . $ SEXP_t# *sexp_mem); |
| 45 | |
| 46 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newb_rcxx . . $ SEXP_number_newb_r(bfab421e9c5f4f7d).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! n); |
| 47 | #define SEXP_number_newi_rcxx . . $ `src/OVAL/probes/SEAP/public/sexp-manip_r.h:47:9`! SEXP_number_newi_32_r |
| 48 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newi_32_rcxx . . $ SEXP_number_newi_32_r(cc253ea9fb0876dd).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, int32_tcxx . . $ int32_t# n); |
| 49 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newu_32_rcxx . . $ SEXP_number_newu_32_r(3d152c928d5432a1).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, uint32_tcxx . . $ uint32_t# n); |
| 50 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newu_64_rcxx . . $ SEXP_number_newu_64_r(529ea53413afaf2).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, uint64_tcxx . . $ uint64_t# n); |
| 51 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newi_64_rcxx . . $ SEXP_number_newi_64_r(9cdf56af611bb354).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, int64_tcxx . . $ int64_t# n); |
| 52 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_number_newf_rcxx . . $ SEXP_number_newf_r(68c776018390b2f6).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, double n); |
| 53 | |
| 54 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_string_new_rcxx . . $ SEXP_string_new_r(26dc94eb5d76b6d1).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, const void *string, size_t length); |
| 55 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_string_newf_rcxx . . $ SEXP_string_newf_r(f7254ae56fe447d7).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, const char *format, ...) _GNUC_PRINTFcxx . . $ `src/OVAL/probes/SEAP/public/sexp-manip_r.h:38:9`! (2,3); |
| 56 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_string_newf_rvcxx . . $ SEXP_string_newf_rv(4a76433786578870).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, const char *format, va_listcxx . . $ va_list# ap); |
| 57 | |
| 58 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_list_new_rvcxx . . $ SEXP_list_new_rv(d9cc5868c8f8d0f4).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, SEXP_tcxx . . $ SEXP_t# *memb, va_listcxx . . $ va_list# alist); |
| 59 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_list_new_rcxx . . $ SEXP_list_new_r(13a47b36db2620da).(SEXP_tcxx . . $ SEXP_t# *sexp_mem, SEXP_tcxx . . $ SEXP_t# *memb, ...); |
| 60 | |
| 61 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! SEXP_tcxx . . $ SEXP_t# *SEXP_list_rest_rcxx . . $ SEXP_list_rest_r(35a066576d9f6ea6). (SEXP_tcxx . . $ SEXP_t# *rest, const SEXP_tcxx . . $ SEXP_t# *list); |
| 62 | |
| 63 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! int SEXP_unref_rcxx . . $ SEXP_unref_r(8164f9e61f8947d8).(SEXP_tcxx . . $ SEXP_t# *s_exp); |
| 64 | |
| 65 | #if defined(NDEBUGcxx . . $ `<built-in>:425:9`!) |
| 66 | OSCAP_APIcxx . . $ `src/common/public/oscap_export.h:42:15`! void SEXP_free_rcxx . . $ SEXP_free_r(c6b28547479798f4). (SEXP_tcxx . . $ SEXP_t# *s_exp); |
| 67 | #else |
| 68 | #include <stdint.h> |
| 69 | OSCAP_API void __SEXP_free_r(SEXP_t *s_exp, const char *file, uint32_t line, const char *func); |
| 70 | |
| 71 | __attribute__ ((unused)) static void SEXP_free_r(SEXP_t *sexp) |
| 72 | { |
| 73 | __SEXP_free_r(sexp, __FILE__, __LINE__, __PRETTY_FUNCTION__); |
| 74 | } |
| 75 | |
| 76 | #define SEXP_free_r(ptr) __SEXP_free_r(ptr, __FILE__, __LINE__, __PRETTY_FUNCTION__) |
| 77 | |
| 78 | #endif |
| 79 | |
| 80 | #ifdef __cplusplus |
| 81 | } |
| 82 | #endif |
| 83 | |
| 84 | #endif /* SEXP_MANIP_R_H */ |