Only in gateway-1.4.0-rob/: .depend Only in gateway-1.4.0-rob/: Makefile diff -ur gateway-1.4.0/checks/check_list.c gateway-1.4.0-rob/checks/check_list.c --- gateway-1.4.0/checks/check_list.c 2004-01-22 11:08:24.000000000 -0300 +++ gateway-1.4.0-rob/checks/check_list.c 2005-10-16 08:44:36.000000000 -0300 @@ -155,7 +155,7 @@ while (list_len(list) > 0) { item = list_get(list, 0); - list_delete(list, 0, 1); + gw_list_delete(list, 0, 1); warning(0, "main: %ld %ld %ld", (long) item->producer, item->num, item->index); } Only in gateway-1.4.0-rob/: config.cache Only in gateway-1.4.0-rob/: config.log Only in gateway-1.4.0-rob/: config.status diff -ur gateway-1.4.0/gw/bb_smscconn.c gateway-1.4.0-rob/gw/bb_smscconn.c --- gateway-1.4.0/gw/bb_smscconn.c 2004-11-18 13:31:32.000000000 -0300 +++ gateway-1.4.0-rob/gw/bb_smscconn.c 2005-10-16 08:45:16.000000000 -0300 @@ -631,7 +631,7 @@ } /* drop old connection from the active smsc list */ - list_delete(smsc_list, i, 1); + gw_list_delete(smsc_list, i, 1); /* destroy the connection */ smscconn_destroy(conn); list_insert(smsc_list, i, new_conn); diff -ur gateway-1.4.0/gw/dlr_mem.c gateway-1.4.0-rob/gw/dlr_mem.c --- gateway-1.4.0/gw/dlr_mem.c 2004-08-08 15:50:18.000000000 -0400 +++ gateway-1.4.0-rob/gw/dlr_mem.c 2005-10-16 08:45:47.000000000 -0300 @@ -102,7 +102,7 @@ gw_rwlock_wrlock(&rwlock); len = list_len(dlr_waiting_list); for (i=0; i < len; i++) - list_delete(dlr_waiting_list, i, 1); + gw_list_delete(dlr_waiting_list, i, 1); gw_rwlock_unlock(&rwlock); } @@ -171,7 +171,7 @@ dlr = list_get(dlr_waiting_list, i); if (dlr_mem_entry_match(dlr, smsc, ts, dst) == 0) { - list_delete(dlr_waiting_list, i, 1); + gw_list_delete(dlr_waiting_list, i, 1); dlr_entry_destroy(dlr); break; } diff -ur gateway-1.4.0/gw/smsc/smsc_soap.c gateway-1.4.0-rob/gw/smsc/smsc_soap.c --- gateway-1.4.0/gw/smsc/smsc_soap.c 2004-08-28 14:09:19.000000000 -0400 +++ gateway-1.4.0-rob/gw/smsc/smsc_soap.c 2005-10-16 08:44:58.000000000 -0300 @@ -1955,7 +1955,7 @@ debug("bb.soap.init_query",0,"SOAP[%s]: init_query getting a client",octstr_get_cstr(privdata->name)); /* client is not busy - get it */ - list_delete(privdata->soap_client, index, 1); + gw_list_delete(privdata->soap_client, index, 1); break; } cur_client = NULL; Only in gateway-1.4.0-rob/: gw-config.h diff -ur gateway-1.4.0/gwlib/dbpool.c gateway-1.4.0-rob/gwlib/dbpool.c --- gateway-1.4.0/gwlib/dbpool.c 2004-06-08 06:25:16.000000000 -0400 +++ gateway-1.4.0-rob/gwlib/dbpool.c 2005-10-16 08:42:34.000000000 -0300 @@ -311,7 +311,7 @@ pconn = list_get(p->pool, i); if (p->db_ops->check(pconn->conn) != 0) { /* something was wrong, reinitialize the connection */ - list_delete(p->pool, i, 1); + gw_list_delete(p->pool, i, 1); dbpool_conn_destroy(pconn); p->curr_size--; reinit++; Only in gateway-1.4.0-rob/gwlib: gw_uuid_types.h diff -ur gateway-1.4.0/gwlib/http.c gateway-1.4.0-rob/gwlib/http.c --- gateway-1.4.0/gwlib/http.c 2004-08-11 12:41:29.000000000 -0400 +++ gateway-1.4.0-rob/gwlib/http.c 2005-10-16 08:46:57.000000000 -0300 @@ -2707,7 +2707,7 @@ /* Delete old header */ header = list_get(headers, i); octstr_destroy(header); - list_delete(headers, i, 1); + gw_list_delete(headers, i, 1); /* Adds comma and new value to old header value */ octstr_append(value, octstr_imm(", ")); @@ -2722,7 +2722,7 @@ /* Delete this header */ header = list_get(headers, j); octstr_destroy(header); - list_delete(headers, j, 1); + gw_list_delete(headers, j, 1); j--; } } @@ -2833,7 +2833,7 @@ while (i < list_len(headers)) { h = list_get(headers, i); if (header_is_called(h, name)) { - list_delete(headers, i, 1); + gw_list_delete(headers, i, 1); octstr_destroy(h); count++; } else @@ -3087,7 +3087,7 @@ if (octstr_get_char(element, pos) == '=') { octstr_append_char(auth_scheme, ';'); octstr_append(auth_scheme, element); - list_delete(result, i, 1); + gw_list_delete(result, i, 1); octstr_destroy(element); } else { unsigned char semicolon = ';'; diff -ur gateway-1.4.0/gwlib/list.c gateway-1.4.0-rob/gwlib/list.c --- gateway-1.4.0/gwlib/list.c 2004-08-11 12:41:29.000000000 -0400 +++ gateway-1.4.0-rob/gwlib/list.c 2005-10-16 08:47:14.000000000 -0300 @@ -226,7 +226,7 @@ } -void list_delete(List *list, long pos, long count) +void gw_list_delete(List *list, long pos, long count) { lock(list); delete_items_from_list(list, pos, count); diff -ur gateway-1.4.0/gwlib/list.h gateway-1.4.0-rob/gwlib/list.h --- gateway-1.4.0/gwlib/list.h 2004-06-28 05:53:38.000000000 -0400 +++ gateway-1.4.0-rob/gwlib/list.h 2005-10-16 08:47:23.000000000 -0300 @@ -176,7 +176,7 @@ * Delete items from the list. Note that this does _not_ free the memory * for the items, they are just dropped from the list. */ -void list_delete(List *list, long pos, long count); +void gw_list_delete(List *list, long pos, long count); /* diff -ur gateway-1.4.0/wap/cookies.c gateway-1.4.0-rob/wap/cookies.c --- gateway-1.4.0/wap/cookies.c 2004-03-11 15:02:39.000000000 -0300 +++ gateway-1.4.0-rob/wap/cookies.c 2005-10-16 08:47:59.000000000 -0300 @@ -393,7 +393,7 @@ /* We have a match according to 4.3.3 - discard the old one */ cookie_destroy(value); - list_delete(cookies, pos, 1); + gw_list_delete(cookies, pos, 1); /* Discard the new cookie also if max-age is 0 - set if expiry date is up */ if (cookie->max_age == 0) { @@ -445,7 +445,7 @@ debug("wap.wsp.http", 0, "expire_cookies: Expired cookie (%s)", octstr_get_cstr(value->name)); cookie_destroy(value); - list_delete(cookies, pos, 1); + gw_list_delete(cookies, pos, 1); } } } diff -ur gateway-1.4.0/wap/wsp_headers.c gateway-1.4.0-rob/wap/wsp_headers.c --- gateway-1.4.0/wap/wsp_headers.c 2004-08-08 16:39:56.000000000 -0400 +++ gateway-1.4.0-rob/wap/wsp_headers.c 2005-10-16 08:48:21.000000000 -0300 @@ -2041,7 +2041,7 @@ Parameter *parm = list_get(parms, i); if (octstr_case_compare(realm, parm->key) == 0) { realmparm = parm; - list_delete(parms, i, 1); + gw_list_delete(parms, i, 1); break; } } diff -ur gateway-1.4.0/wap/wsp_session.c gateway-1.4.0-rob/wap/wsp_session.c --- gateway-1.4.0/wap/wsp_session.c 2004-01-22 11:08:25.000000000 -0300 +++ gateway-1.4.0-rob/wap/wsp_session.c 2005-10-16 08:48:44.000000000 -0300 @@ -816,7 +816,7 @@ bad_cap: error(0, "WSP: Found illegal value in capabilities reply."); wsp_cap_dump(cap); - list_delete(caps, i, 1); + gw_list_delete(caps, i, 1); i--; wsp_cap_destroy(cap); continue; @@ -964,7 +964,7 @@ count = wsp_cap_count(req, cap->id, cap->name); if (count == 0 && is_default_cap(cap)) { - list_delete(caps, i, 1); + gw_list_delete(caps, i, 1); wsp_cap_destroy(cap); } else { i++;