Mercurial > pidgin
comparison libpurple/protocols/simple/sipmsg.c @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Mon, 19 Mar 2007 07:01:17 +0000 |
| parents | 5fe8042783c1 |
| children | af92b284664a |
comparison
equal
deleted
inserted
replaced
| 15821:84b0f9b23ede | 15822:32c366eeeb99 |
|---|---|
| 1 /** | 1 /** |
| 2 * @file sipmsg.c | 2 * @file sipmsg.c |
| 3 * | 3 * |
| 4 * gaim | 4 * purple |
| 5 * | 5 * |
| 6 * Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de> | 6 * Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de> |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or modify | 8 * This program is free software; you can redistribute it and/or modify |
| 9 * it under the terms of the GNU General Public License as published by | 9 * it under the terms of the GNU General Public License as published by |
| 116 } | 116 } |
| 117 | 117 |
| 118 void sipmsg_print(const struct sipmsg *msg) { | 118 void sipmsg_print(const struct sipmsg *msg) { |
| 119 GSList *cur; | 119 GSList *cur; |
| 120 struct siphdrelement *elem; | 120 struct siphdrelement *elem; |
| 121 gaim_debug(GAIM_DEBUG_MISC, "simple", "SIP MSG\n"); | 121 purple_debug(PURPLE_DEBUG_MISC, "simple", "SIP MSG\n"); |
| 122 gaim_debug(GAIM_DEBUG_MISC, "simple", "response: %d\nmethod: %s\nbodylen: %d\n",msg->response,msg->method,msg->bodylen); | 122 purple_debug(PURPLE_DEBUG_MISC, "simple", "response: %d\nmethod: %s\nbodylen: %d\n",msg->response,msg->method,msg->bodylen); |
| 123 if(msg->target) gaim_debug(GAIM_DEBUG_MISC, "simple", "target: %s\n",msg->target); | 123 if(msg->target) purple_debug(PURPLE_DEBUG_MISC, "simple", "target: %s\n",msg->target); |
| 124 cur = msg->headers; | 124 cur = msg->headers; |
| 125 while(cur) { | 125 while(cur) { |
| 126 elem = cur->data; | 126 elem = cur->data; |
| 127 gaim_debug(GAIM_DEBUG_MISC, "simple", "name: %s value: %s\n",elem->name, elem->value); | 127 purple_debug(PURPLE_DEBUG_MISC, "simple", "name: %s value: %s\n",elem->name, elem->value); |
| 128 cur = g_slist_next(cur); | 128 cur = g_slist_next(cur); |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 | 131 |
| 132 char *sipmsg_to_string(const struct sipmsg *msg) { | 132 char *sipmsg_to_string(const struct sipmsg *msg) { |
