1 /* 2 belle-sip - SIP (RFC3261) library. 3 Copyright (C) 2010 Belledonne Communications SARL 4 5 This program is free software: you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation, either version 2 of the License, or 8 (at your option) any later version. 9 10 This program 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 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef BELLE_SIP_LIST_H_ 20 #define BELLE_SIP_LIST_H_ 21 22 #include "bctoolbox/list.h" 23 24 typedef struct _bctbx_list belle_sip_list_t; 25 26 #define belle_sip_list_new bctbx_list_new 27 #define belle_sip_list_append bctbx_list_append 28 #define belle_sip_list_prepend bctbx_list_prepend 29 #define belle_sip_list_prepend_link bctbx_list_prepend_link 30 #define belle_sip_list_last_elem bctbx_list_last_elem 31 #define belle_sip_list_free bctbx_list_free 32 #define belle_sip_list_concat bctbx_list_concat 33 #define belle_sip_list_remove bctbx_list_remove 34 #define belle_sip_list_pop_front bctbx_list_pop_front 35 #define belle_sip_list_size bctbx_list_size 36 #define belle_sip_list_for_each bctbx_list_for_each 37 #define belle_sip_list_for_each2 bctbx_list_for_each2 38 #define belle_sip_list_remove_link bctbx_list_unlink 39 #define belle_sip_list_delete_link bctbx_list_erase_link 40 #define belle_sip_list_find bctbx_list_find 41 #define belle_sip_list_free bctbx_list_free 42 #define belle_sip_list_free_with_data bctbx_list_free_with_data 43 44 #define belle_sip_compare_func bctbx_compare_func 45 #define belle_sip_list_find_custom bctbx_list_find_custom 46 #define belle_sip_list_nth_data bctbx_list_nth_data 47 #define belle_sip_list_position bctbx_list_position 48 #define belle_sip_list_index bctbx_list_index 49 #define belle_sip_list_insert_sorted bctbx_list_insert_sorted 50 #define belle_sip_list_insert bctbx_list_insert 51 #define belle_sip_list_copy bctbx_list_copy 52 #define belle_sip_list_copy_with_data bctbx_list_copy_with_data 53 #define belle_sip_list_copy_reverse_with_data bctbx_list_copy_reverse_with_data 54 55 #endif /* BELLE_SIP_LIST_H_ */ 56