opensrv_plat/messagequeue_api/inc/msgliterals.h
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : isoliterals.h
       
     4 *  Part of     : isolation server.
       
     5 *  Version     : %version: 1 %
       
     6 *
       
     7 *  Copyright © 2007-2008 Nokia.  All rights reserved.
       
     8 *  All rights reserved.
       
     9 *  Redistribution and use in source and binary forms, with or without modification, 
       
    10 *  are permitted provided that the following conditions are met:
       
    11 *  Redistributions of source code must retain the above copyright notice, this list 
       
    12 *  of conditions and the following disclaimer.Redistributions in binary form must 
       
    13 *  reproduce the above copyright notice, this list of conditions and the following 
       
    14 *  disclaimer in the documentation and/or other materials provided with the distribution.
       
    15 *  Neither the name of the Nokia Corporation nor the names of its contributors may be used 
       
    16 *  to endorse or promote products derived from this software without specific prior written 
       
    17 *  permission.
       
    18 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
       
    19 *  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
       
    20 *  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 
       
    21 *  SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
       
    22 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
       
    23 *  OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
       
    24 *  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
       
    25 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
       
    26 *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
    27 * ============================================================================
       
    28 * Template version: 1.0
       
    29 */
       
    30 
       
    31 
       
    32 #ifndef __MSGLITERALS_H__
       
    33 #define __MSGLITERALS_H__
       
    34 
       
    35 #include <msgqlib.h>
       
    36 
       
    37 #define REQUEST_QUEUE 1
       
    38 
       
    39 #define RESPONSE_QUEUE 2
       
    40 
       
    41 #define RESPONSE_DATA_QUEUE 3
       
    42 
       
    43 #define MAX_SIZE_DATA 1024
       
    44 
       
    45 #define MAX_MSG_Q_SIZE 10
       
    46 
       
    47 #define MAX_MSG_RECEIPIENTS ( 10 + 1 )
       
    48 #define MAX_MSG_SIZE 1024
       
    49 
       
    50 #define PORTSRV 443
       
    51 
       
    52 
       
    53 #define TIME_OUT 500
       
    54 
       
    55 #define ServerAddr "talk.google.com"
       
    56 #define TestId "mytest" 
       
    57 #define ServerStr "server"
       
    58 #define ResourceStr "resource"
       
    59 #define AccountStr "account"
       
    60 #define PasswdStr "password"
       
    61 #define PortStr "port"
       
    62 #define OldsslStr "old-ssl"
       
    63 
       
    64 #define NewChannelStr "NewChannel"
       
    65 #define StatusChangedStr "StatusChanged"
       
    66 
       
    67 /**
       
    68  * Macro for isoserver implementation to suppress warnings
       
    69  * from unused formal parameters.
       
    70  */
       
    71 #define UNUSED_FORMAL_PARAM(p) (void) p
       
    72 
       
    73 #endif //__MSGLITERALS_H__