openenvutils/telnetserver/src/dummy.c
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2  * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 
       
    19 /* 
       
    20  * This file contains the stubs for unsupported functions. These functions
       
    21  * should be revisited to check the feasibility of supporting them.  
       
    22  */
       
    23 #ifdef __SYMBIAN32__
       
    24 #ifdef __WINSCW__
       
    25 #pragma warn_unusedarg off
       
    26 #endif//__WINSCW__
       
    27 
       
    28 #include "dummy.h"
       
    29 
       
    30 int cfsetispeed(struct termios *term, speed_t speed)
       
    31 {
       
    32 	return 0;
       
    33 }
       
    34 
       
    35 int cfsetospeed(struct termios *term, speed_t speed)
       
    36 {
       
    37 	return 0;
       
    38 }
       
    39 
       
    40 void openlog(const char *path, int opt, int fac)
       
    41 {
       
    42 	return;
       
    43 }
       
    44 
       
    45 void closelog(void)
       
    46 {
       
    47 	return;
       
    48 }
       
    49 
       
    50 int	tcgetattr(int i, struct termios * p)
       
    51 {
       
    52 	return 0;
       
    53 }
       
    54 
       
    55 int	tcsetattr(int i , int y, const struct termios *p)
       
    56 {
       
    57 	return 0;
       
    58 }
       
    59 
       
    60 #endif//__SYMBIAN32__
       
    61 
       
    62 
       
    63 
       
    64 
       
    65