home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / SUSPEND.C < prev    next >
C/C++ Source or Header  |  1993-09-29  |  4KB  |  101 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    s u s p e n d . c                                               */
  3. /*                                                                    */
  4. /*    suspend/resume uupoll/uucico daemon (dummies for non-OS/2)      */
  5. /*                                                                    */
  6. /*    Author: Kai Uwe Rommel                                          */
  7. /*                                                                    */
  8. /*--------------------------------------------------------------------*/
  9.  
  10. /*--------------------------------------------------------------------*/
  11. /*       Copyright (c) 1993 by Kai Uwe Rommel                         */
  12. /*--------------------------------------------------------------------*/
  13.  
  14. /*--------------------------------------------------------------------*/
  15. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  16. /*       Wonderworks.                                                 */
  17. /*                                                                    */
  18. /*       All rights reserved except those explicitly granted by       */
  19. /*       the UUPC/extended license agreement.                         */
  20. /*--------------------------------------------------------------------*/
  21.  
  22. /*--------------------------------------------------------------------*/
  23. /*                          RCS Information                           */
  24. /*--------------------------------------------------------------------*/
  25.  
  26. /*
  27.  *    $Id: suspend.c 1.3 1993/09/29 04:52:03 ahd Exp $
  28.  *
  29.  *    Revision history:
  30.  *    $Log: suspend.c $
  31.  * Revision 1.3  1993/09/29  04:52:03  ahd
  32.  * General clean up to be compatible with suspend2.c
  33.  *
  34.  * Revision 1.2  1993/09/27  02:42:11  ahd
  35.  * Include header, use proper return values to match OS/2 functions
  36.  *
  37.  * Revision 1.1  1993/09/27  00:48:43  ahd
  38.  * Initial revision
  39.  *
  40.  */
  41.  
  42. /*--------------------------------------------------------------------*/
  43. /*                        System include files                        */
  44. /*--------------------------------------------------------------------*/
  45.  
  46. #include <stdio.h>
  47. #include <sys/types.h>
  48.  
  49. /*--------------------------------------------------------------------*/
  50. /*                    UUPC/extended include files                     */
  51. /*--------------------------------------------------------------------*/
  52.  
  53. #include "lib.h"
  54. #include "hostable.h"
  55. #include "dcp.h"
  56. #include "security.h"
  57. #include "suspend.h"
  58.  
  59. boolean suspend_processing = FALSE;
  60.  
  61. /*--------------------------------------------------------------------*/
  62. /*       s u s p e n d _ i n i t                                      */
  63. /*                                                                    */
  64. /*       Initialize thread to handle port suspension                  */
  65. /*--------------------------------------------------------------------*/
  66.  
  67. #ifdef __TURBOC__
  68. #pragma argsused
  69. #endif
  70.  
  71. void suspend_init(const char *port )
  72. {
  73. }
  74.  
  75. /*--------------------------------------------------------------------*/
  76. /*       s u s p e n d _ o t h e r                                    */
  77. /*                                                                    */
  78. /*       Request another UUCICO give up a modem                       */
  79. /*--------------------------------------------------------------------*/
  80.  
  81. #ifdef __TURBOC__
  82. #pragma argsused
  83. #endif
  84.  
  85. int suspend_other(const boolean suspend,
  86.                   const char *port )
  87. {
  88.    return 1;
  89. }
  90.  
  91. /*--------------------------------------------------------------------*/
  92. /*       s u s p e n d _ w a i t                                      */
  93. /*                                                                    */
  94. /*       Wait to take the serial port back                            */
  95. /*--------------------------------------------------------------------*/
  96.  
  97. CONN_STATE suspend_wait(void)
  98. {
  99.   return CONN_EXIT;
  100. }
  101.