| 1 | /* |
| 2 | * Copyright 2009 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 | #pragma once |
| 24 | #ifndef _SEAP_H |
| 25 | #define _SEAP_Hcxx . . $ `src/OVAL/probes/SEAP/_seap.h:25:9`! |
| 26 | |
| 27 | #include "_seap-message.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/_seap-message.h`/ |
| 28 | #include "sch_queue.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/sch_queue.h`/ |
| 29 | #include "../../../common/util.h"cxx . . $ `<file>/src/common/util.h`/ |
| 30 | #include "_seap-types.h"cxx . . $ `<file>/src/OVAL/probes/SEAP/_seap-types.h`/ |
| 31 | |
| 32 | #ifndef EOPNOTSUPPcxx . . $ `<external>/17922322188510340118/errno.h:79:9`! |
| 33 | # define EOPNOTSUPP 1001 |
| 34 | #endif |
| 35 | |
| 36 | #ifndef ECANCELEDcxx . . $ `<external>/17922322188510340118/errno.h:111:9`! |
| 37 | # define ECANCELED 1002 |
| 38 | #endif |
| 39 | |
| 40 | SEAP_CTX_tcxx . . $ SEAP_CTX_t# *SEAP_CTX_newcxx . . $ SEAP_CTX_new(4c59508b5756fef7).(void); |
| 41 | void SEAP_CTX_initcxx . . $ SEAP_CTX_init(6b73584f16c77d33).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx); |
| 42 | void SEAP_CTX_freecxx . . $ SEAP_CTX_free(6b73584f16c77d33).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx); |
| 43 | |
| 44 | int SEAP_connectcxx . . $ SEAP_connect(8239b944deed0079).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx); |
| 45 | int SEAP_listencxx . . $ SEAP_listen(9da57444f8379d64).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, uint32_tcxx . . $ uint32_t# maxcli); |
| 46 | int SEAP_acceptcxx . . $ SEAP_accept(1db39790f33892d1).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd); |
| 47 | |
| 48 | int SEAP_opencxx . . $ SEAP_open(b74c1535fff19e6e).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, const char *path, uint32_tcxx . . $ uint32_t# flags); |
| 49 | SEXP_tcxx . . $ SEXP_t# *SEAP_readcxx . . $ SEAP_read(89a0d7fa3fac4edd).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd); |
| 50 | int SEAP_writecxx . . $ SEAP_write(b40b93abb4cdefd5).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEXP_tcxx . . $ SEXP_t# *sexp); |
| 51 | int SEAP_closecxx . . $ SEAP_close(1db39790f33892d1).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd); |
| 52 | |
| 53 | int SEAP_openfdcxx . . $ SEAP_openfd(9da57444f8379d64).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int fd, uint32_tcxx . . $ uint32_t# flags); |
| 54 | int SEAP_openfd2cxx . . $ SEAP_openfd2(25c179136f4ebf9).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int ifd, int ofd, uint32_tcxx . . $ uint32_t# flags); |
| 55 | int SEAP_add_probecxx . . $ SEAP_add_probe(c415db66edacb127).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, sch_queuedata_tcxx . . $ sch_queuedata_t# *data); |
| 56 | |
| 57 | int SEAP_recvsexpcxx . . $ SEAP_recvsexp(63d062d154236fae).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEXP_tcxx . . $ SEXP_t# **sexp); |
| 58 | int SEAP_recvmsgcxx . . $ SEAP_recvmsg(548af285d41333c4).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_msg_tcxx . . $ SEAP_msg_t# **seap_msg); |
| 59 | |
| 60 | int SEAP_sendsexpcxx . . $ SEAP_sendsexp(b40b93abb4cdefd5).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEXP_tcxx . . $ SEXP_t# *sexp); |
| 61 | int SEAP_sendmsgcxx . . $ SEAP_sendmsg(44b2d65acd10f583).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_msg_tcxx . . $ SEAP_msg_t# *seap_msg); |
| 62 | |
| 63 | int SEAP_replycxx . . $ SEAP_reply(86996c4f120c23bc).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_msg_tcxx . . $ SEAP_msg_t# *rep_msg, SEAP_msg_tcxx . . $ SEAP_msg_t# *req_msg); |
| 64 | |
| 65 | int SEAP_senderrcxx . . $ SEAP_senderr(aab4fc2f6bdac614).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_err_tcxx . . $ SEAP_err_t# *err); |
| 66 | int SEAP_recverrcxx . . $ SEAP_recverr(1a1ba83450e44246).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_err_tcxx . . $ SEAP_err_t# **err); |
| 67 | int SEAP_recverr_byidcxx . . $ SEAP_recverr_byid(960dd4cce4b45919).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_err_tcxx . . $ SEAP_err_t# **err, SEAP_msgid_tcxx . . $ SEAP_msgid_t# id); |
| 68 | |
| 69 | int SEAP_replyerrcxx . . $ SEAP_replyerr(9c3156c1fad5b304).(SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_msg_tcxx . . $ SEAP_msg_t# *rep_msg, uint32_tcxx . . $ uint32_t# e); |
| 70 | |
| 71 | int __SEAP_recvmsg_process_cmdcxx . . $ __SEAP_recvmsg_process_cmd(6df9f23f786c4d17). (SEAP_CTX_tcxx . . $ SEAP_CTX_t# *ctx, int sd, SEAP_cmd_tcxx . . $ SEAP_cmd_t# *cmd); |
| 72 | |
| 73 | |
| 74 | #endif /* _SEAP_H */ |