"Fossies" - the Fresh Open Source Software Archive

Member "opensips-3.0.1/modules/jabber/xjab_jconf.h" (16 Apr 2019, 1477 Bytes) of package /linux/misc/opensips-3.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "xjab_jconf.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * eXtended JABber module
    3  *
    4  * Copyright (C) 2001-2003 FhG Fokus
    5  *
    6  * This file is part of opensips, a free SIP server.
    7  *
    8  * opensips is free software; you can redistribute it and/or modify
    9  * it under the terms of the GNU General Public License as published by
   10  * the Free Software Foundation; either version 2 of the License, or
   11  * (at your option) any later version
   12  *
   13  * opensips is distributed in the hope that it will be useful,
   14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16  * GNU General Public License for more details.
   17  *
   18  * You should have received a copy of the GNU General Public License
   19  * along with this program; if not, write to the Free Software
   20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
   21  */
   22 
   23 
   24 #ifndef _XJAB_JCONF_H_
   25 #define _XJAB_JCONF_H_
   26 
   27 #include "../../str.h"
   28 
   29 #define XJ_JCONF_NULL       0
   30 #define XJ_JCONF_READY      1
   31 #define XJ_JCONF_WAITING    2
   32 #define XJ_JCONF_AUTH       4
   33 
   34 /**********             ***/
   35 
   36 typedef struct _xj_jconf
   37 {
   38     int jcid;
   39     int status;
   40     str uri;
   41     str room;
   42     str server;
   43     str nick;
   44     str passwd;
   45 } t_xj_jconf, *xj_jconf;
   46 
   47 xj_jconf xj_jconf_new(str *u);
   48 int xj_jconf_init_sip(xj_jconf jcf, str *sid, char dl);
   49 int xj_jconf_init_jab(xj_jconf jcf);
   50 
   51 int xj_jconf_set_status(xj_jconf jcf, int s);
   52 
   53 int xj_jconf_cmp(void *a, void *b);
   54 int xj_jconf_free(xj_jconf jcf);
   55 int xj_jconf_check_addr(str *addr, char dl);
   56 
   57 #endif
   58