| 1 | /** |
| 2 | * Copyright (C) 2022 Daniel-Constantin Mierla (asipto.com) |
| 3 | * |
| 4 | * This file is part of Kamailio, a free SIP server. |
| 5 | * |
| 6 | * This file is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version |
| 10 | * |
| 11 | * |
| 12 | * This file is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | * |
| 21 | */ |
| 22 | |
| 23 | #ifndef _SIPREPO_DATA_ |
| 24 | #define _SIPREPO_DATA_cxx . . $ `src/modules/siprepo/siprepo_data.h:24:9`! |
| 25 | |
| 26 | #include <time.h> |
| 27 | |
| 28 | #include "../../core/parser/msg_parser.h"cxx . . $ `<file>/src/core/parser/msg_parser.h`/ |
| 29 | |
| 30 | #define SIPREPO_RMODE_RMcxx . . $ `src/modules/siprepo/siprepo_data.h:30:9`! 1 |
| 31 | |
| 32 | typedef struct siprepo_msgcxx . . $ siprepo_msg# |
| 33 | { |
| 34 | unsigned int hidcxx . . $ siprepo_msg#hid.; |
| 35 | int mtypecxx . . $ siprepo_msg#mtype.; |
| 36 | strcxx . . $ str# msgidcxx . . $ siprepo_msg#msgid.; |
| 37 | strcxx . . $ str# callidcxx . . $ siprepo_msg#callid.; |
| 38 | strcxx . . $ str# ftagcxx . . $ siprepo_msg#ftag.; |
| 39 | strcxx . . $ str# cseqnumcxx . . $ siprepo_msg#cseqnum.; |
| 40 | strcxx . . $ str# cseqmetcxx . . $ siprepo_msg#cseqmet.; |
| 41 | strcxx . . $ str# vbranchcxx . . $ siprepo_msg#vbranch.; |
| 42 | strcxx . . $ str# dbufcxx . . $ siprepo_msg#dbuf.; |
| 43 | unsigned int cseqmetidcxx . . $ siprepo_msg#cseqmetid.; |
| 44 | int msgnocxx . . $ siprepo_msg#msgno.; |
| 45 | int pidcxx . . $ siprepo_msg#pid.; |
| 46 | flag_tcxx . . $ flag_t# mflagscxx . . $ siprepo_msg#mflags.; |
| 47 | receive_info_tcxx . . $ receive_info_t# rcvcxx . . $ siprepo_msg#rcv.; |
| 48 | time_tcxx . . $ time_t# itimecxx . . $ siprepo_msg#itime.; |
| 49 | struct siprepo_msgcxx . . $ siprepo_msg# *nextcxx . . $ siprepo_msg#next.; |
| 50 | struct siprepo_msgcxx . . $ siprepo_msg# *prevcxx . . $ siprepo_msg#prev.; |
| 51 | } siprepo_msg_tcxx . . $ siprepo_msg_t#; |
| 52 | |
| 53 | typedef struct siprepo_slotcxx . . $ siprepo_slot# |
| 54 | { |
| 55 | siprepo_msg_tcxx . . $ siprepo_msg_t# *plistcxx . . $ siprepo_slot#plist.; |
| 56 | gen_lock_tcxx . . $ gen_lock_t# lockcxx . . $ siprepo_slot#lock.; |
| 57 | } siprepo_slot_tcxx . . $ siprepo_slot_t#; |
| 58 | |
| 59 | int siprepo_table_initcxx . . $ siprepo_table_init(b126dc7c1de90089).(void); |
| 60 | int siprepo_msg_setcxx . . $ siprepo_msg_set(f0f53d9cf56da782).(sip_msg_tcxx . . $ sip_msg_t# *msg, strcxx . . $ str# *msgid, int rmode); |
| 61 | int siprepo_msg_rmcxx . . $ siprepo_msg_rm(b014512b9375e454).(strcxx . . $ str# *callid, strcxx . . $ str# *msgid); |
| 62 | int siprepo_msg_pullcxx . . $ siprepo_msg_pull(6103de7c55832da3).(strcxx . . $ str# *callid, strcxx . . $ str# *msgid, strcxx . . $ str# *rname, int rmode); |
| 63 | int siprepo_msg_async_pullcxx . . $ siprepo_msg_async_pull(92010b167056a240).( |
| 64 | strcxx . . $ str# *callid, strcxx . . $ str# *msgid, strcxx . . $ str# *gname, strcxx . . $ str# *rname, int rmode); |
| 65 | int siprepo_msg_checkcxx . . $ siprepo_msg_check(8f77caa285287376).(sip_msg_tcxx . . $ sip_msg_t# *msg); |
| 66 | void siprepo_msg_timercxx . . $ siprepo_msg_timer(5b06f0534f920d2).(unsigned int ticks, int worker, void *param); |
| 67 | |
| 68 | #endif |