Navigation


Changeset 392:8e260030f32c in freeDiameter for extensions/test_sip/test_sip.h


Ignore:
Timestamp:
Jul 6, 2010, 7:50:52 PM (14 years ago)
Author:
Alexandre Westfahl <awestfahl@freediameter.net>
Branch:
default
Phase:
public
Message:

Added configuration file for app_sip and test_sip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_sip/test_sip.h

    r381 r392  
     1/*********************************************************************************************************
     2* Software License Agreement (BSD License)                                                               *
     3* Author: Alexandre Westfahl <awestfahl@freediameter.net>                                                *
     4*                                                                                                        *
     5* Copyright (c) 2010, Alexandre Westfahl, Teraoka Laboratory (Keio University), and the WIDE Project.    *             
     6*                                                                                                        *
     7* All rights reserved.                                                                                   *
     8*                                                                                                        *
     9* Redistribution and use of this software in source and binary forms, with or without modification, are  *
     10* permitted provided that the following conditions are met:                                              *
     11*                                                                                                        *
     12* * Redistributions of source code must retain the above                                                 *
     13*   copyright notice, this list of conditions and the                                                    *
     14*   following disclaimer.                                                                                *
     15*                                                                                                        *
     16* * Redistributions in binary form must reproduce the above                                              *
     17*   copyright notice, this list of conditions and the                                                    *
     18*   following disclaimer in the documentation and/or other                                               *
     19*   materials provided with the distribution.                                                            *
     20*                                                                                                        *
     21* * Neither the name of the Teraoka Laboratory nor the                                                   *
     22*   names of its contributors may be used to endorse or                                                  *
     23*   promote products derived from this software without                                                  *
     24*   specific prior written permission of Teraoka Laboratory                                              *
     25*                                                                                                        *
     26*                                                                                                        *
     27* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED *
     28* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
     29* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR *
     30* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT     *
     31* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS    *
     32* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR *
     33* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF   *
     34* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                                                             *
     35*********************************************************************************************************/
     36
     37
     38/* The module configuration */
     39struct test_sip_conf {
     40        int             mode;           /* default MODE_DSSERVER | MODE_SL */
     41        enum {ASMYSQL} datasource;
     42        char * mysql_login;
     43        char * mysql_password;
     44        char * mysql_database;
     45        char * mysql_server;
     46        uint16_t  mysql_port;
     47       
     48};
     49extern struct test_sip_conf * test_sip_conf;
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
Note: See TracChangeset for help on using the changeset viewer.