| 1 | /* |
| 2 | * Copyright 2014 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 | * |
| 20 | */ |
| 21 | #ifndef OSCAP_CPE_CPE_SESSION_PRIV_H |
| 22 | #define OSCAP_CPE_CPE_SESSION_PRIV_Hcxx . . $ `src/CPE/cpe_session_priv.h:22:9`! |
| 23 | |
| 24 | #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:409:9`! |
| 25 | #include <config.h>cxx . . $ `<file>/build/config.h`/ |
| 26 | #endif |
| 27 | |
| 28 | #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/ |
| 29 | #include "common/public/oscap.h"cxx . . $ `<file>/src/common/public/oscap.h`/ |
| 30 | #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/ |
| 31 | #include "OVAL/public/oval_agent_api.h"cxx . . $ `<file>/src/OVAL/public/oval_agent_api.h`/ |
| 32 | |
| 33 | |
| 34 | struct cpe_sessioncxx . . $ cpe_session# { |
| 35 | struct oscap_listcxx . . $ oscap_list# *dictscxx . . $ cpe_session#dicts.; ///< All CPE dictionaries except the one embedded in XCCDF |
| 36 | struct oscap_listcxx . . $ oscap_list# *lang_modelscxx . . $ cpe_session#lang_models.; ///< All CPE lang models except the one embedded in XCCDF |
| 37 | struct oscap_htablecxx . . $ oscap_htable# *oval_sessionscxx . . $ cpe_session#oval_sessions.; ///< Caches CPE OVAL check results |
| 38 | struct oscap_htablecxx . . $ oscap_htable# *applicable_platformscxx . . $ cpe_session#applicable_platforms.; |
| 39 | struct oscap_htablecxx . . $ oscap_htable# *sources_cachecxx . . $ cpe_session#sources_cache.; ///< Not owned cache [path -> oscap_source] |
| 40 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! thin_resultscxx . . $ cpe_session#thin_results.; ///< Should OVAL results related to CPE be exported as THIN? |
| 41 | }; |
| 42 | |
| 43 | struct cpe_sessioncxx . . $ cpe_session# *cpe_session_newcxx . . $ cpe_session_new(4e53726e2e033d05).(void); |
| 44 | void cpe_session_freecxx . . $ cpe_session_free(b639cf00dbfac4ec).(struct cpe_sessioncxx . . $ cpe_session# *session); |
| 45 | void cpe_session_set_thin_resultscxx . . $ cpe_session_set_thin_results(be2cc67a7d80b751).(struct cpe_sessioncxx . . $ cpe_session# *session, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! thin_results); |
| 46 | struct oval_agent_sessioncxx . . $ oval_agent_session# *cpe_session_lookup_oval_sessioncxx . . $ cpe_session_lookup_oval_session(25b39d22c4ee9fc2).(struct cpe_sessioncxx . . $ cpe_session# *cpe, const char *prefixed_href); |
| 47 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! cpe_session_add_cpe_lang_model_sourcecxx . . $ cpe_session_add_cpe_lang_model_source(4af268f3de6d9870).(struct cpe_sessioncxx . . $ cpe_session# *session, struct oscap_sourcecxx . . $ oscap_source# *source); |
| 48 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! cpe_session_add_cpe_dict_sourcecxx . . $ cpe_session_add_cpe_dict_source(4af268f3de6d9870).(struct cpe_sessioncxx . . $ cpe_session# *session, struct oscap_sourcecxx . . $ oscap_source# *source); |
| 49 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! cpe_session_add_cpe_autodetect_sourcecxx . . $ cpe_session_add_cpe_autodetect_source(4af268f3de6d9870).(struct cpe_sessioncxx . . $ cpe_session# *session, struct oscap_sourcecxx . . $ oscap_source# *source); |
| 50 | void cpe_session_set_cachecxx . . $ cpe_session_set_cache(b2bb2d418ae8a636).(struct cpe_sessioncxx . . $ cpe_session# *session, struct oscap_htablecxx . . $ oscap_htable# *sources_cache); |
| 51 | |
| 52 | #endif |