| 1 | /* |
| 2 | * Copyright 2018 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 | * "Jan Černý" <[email protected]> |
| 21 | */ |
| 22 | |
| 23 | #ifndef OPENSCAP_SCH_QUEUE_H |
| 24 | #define OPENSCAP_SCH_QUEUE_Hcxx . . $ `src/OVAL/probes/SEAP/sch_queue.h:24:9`! |
| 25 | |
| 26 | #include "util.h"cxx . . $ `<file>/src/common/util.h`/ |
| 27 | #include "oscap_queue.h"cxx . . $ `<file>/src/common/oscap_queue.h`/ |
| 28 | #include "seap-descriptor.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/seap-descriptor.h`/ |
| 29 | |
| 30 | typedef structcxx . . $ $anonymous_type_e828ea20cd12bff8_0# { |
| 31 | pthread_tcxx . . $ pthread_t# probe_thread_idcxx . . $ $anonymous_type_e828ea20cd12bff8_0#probe_thread_id.; |
| 32 | pthread_tcxx . . $ pthread_t# parent_thread_idcxx . . $ $anonymous_type_e828ea20cd12bff8_0#parent_thread_id.; |
| 33 | struct oscap_queuecxx . . $ oscap_queue# *to_probe_queuecxx . . $ $anonymous_type_e828ea20cd12bff8_0#to_probe_queue.; |
| 34 | struct oscap_queuecxx . . $ oscap_queue# *from_probe_queuecxx . . $ $anonymous_type_e828ea20cd12bff8_0#from_probe_queue.; |
| 35 | pthread_cond_tcxx . . $ pthread_cond_t# to_probe_condcxx . . $ $anonymous_type_e828ea20cd12bff8_0#to_probe_cond.; |
| 36 | pthread_mutex_tcxx . . $ pthread_mutex_t# to_probe_mutexcxx . . $ $anonymous_type_e828ea20cd12bff8_0#to_probe_mutex.; |
| 37 | pthread_cond_tcxx . . $ pthread_cond_t# from_probe_condcxx . . $ $anonymous_type_e828ea20cd12bff8_0#from_probe_cond.; |
| 38 | pthread_mutex_tcxx . . $ pthread_mutex_t# from_probe_mutexcxx . . $ $anonymous_type_e828ea20cd12bff8_0#from_probe_mutex.; |
| 39 | int to_probe_cntcxx . . $ $anonymous_type_e828ea20cd12bff8_0#to_probe_cnt.; |
| 40 | int from_probe_cntcxx . . $ $anonymous_type_e828ea20cd12bff8_0#from_probe_cnt.; |
| 41 | } sch_queuedata_tcxx . . $ sch_queuedata_t#; |
| 42 | |
| 43 | int sch_queue_connectcxx . . $ sch_queue_connect(697248ac26eea891).(SEAP_desc_tcxx . . $ SEAP_desc_t# *desc); |
| 44 | ssize_tcxx . . $ ssize_t# sch_queue_sendsexpcxx . . $ sch_queue_sendsexp(bc098aea6e2d56cd).(SEAP_desc_tcxx . . $ SEAP_desc_t# *desc, SEXP_tcxx . . $ SEXP_t# *sexp, uint32_tcxx . . $ uint32_t# flags); |
| 45 | SEXP_tcxx . . $ SEXP_t# *sch_queue_recvsexpcxx . . $ sch_queue_recvsexp(5337bf09bc59ad21).(SEAP_desc_tcxx . . $ SEAP_desc_t# *desc); |
| 46 | int sch_queue_closecxx . . $ sch_queue_close(912e80c1e1b86eec).(SEAP_desc_tcxx . . $ SEAP_desc_t# *desc, uint32_tcxx . . $ uint32_t# flags); |
| 47 | |
| 48 | #endif /* OPENSCAP_SCH_QUEUE_H */ |