Functions | Variables

xmpp.c File Reference

Kamailio XMPP module ::

More...

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "../../sr_module.h"
#include "../../mem/mem.h"
#include "../../data_lump_rpl.h"
#include "../../parser/msg_parser.h"
#include "../../parser/parse_content.h"
#include "../../parser/parse_from.h"
#include "../../parser/parse_param.h"
#include "../../modules/tm/tm_load.h"
#include "../../cfg/cfg_struct.h"
#include "xode.h"
#include "xmpp.h"
#include "network.h"
#include "xmpp_api.h"
#include <arpa/inet.h>
Include dependency graph for xmpp.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file xmpp.c.


Function Documentation

static int xmpp_send_pipe_cmd ( enum xmpp_pipe_cmd_type  type,
str from,
str to,
str body,
str id 
) [static]

Todo:
: make shm allocation for one big chunk to include all fields

Definition at line 365 of file xmpp.c.

int xmpp_send_sip_msg ( char *  from,
char *  to,
char *  msg 
)
Todo:
This assumes that a message is text/plain, which is not always the case with XMPP messages.

We should propably also set the character set, as all SIP clients doesn't assume utf8 for text/plain

< Request-URI

< To

< From

Definition at line 308 of file xmpp.c.

References _str::len, and _str::s.


Variable Documentation

MODULE_VERSION struct tm_binds tmb

TM bind.

Copyright (C) 2011 Daniel-Constantin Mierla (asipto.com)

This file is part of Kamailio, a free SIP server.

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Copyright (C) 2011 Flowroute LLC (flowroute.com)

This file is part of Kamailio, a free SIP server.

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 136 of file xmpp.c.