home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 3.ddi / OS2LAN / CTNETLOK.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-18  |  1.3 KB  |  62 lines

  1. /*
  2.  *    OS/2 Lan Manager DOS and NET calls for 
  3.  *      using named pipes version of c-tree server
  4.  *
  5.  *
  6.  * --------------------------------------------------------------------
  7.  * This could be used instead of ctnetnam.c
  8.  * if ONLY local use of Named Pipes
  9.  * --------------------------------------------------------------------
  10.  *
  11.  *    This program is the CONFIDENTIAL and PROPRIETARY property 
  12.  *    of FairCom(R) Corporation. Any unauthorized use, reproduction or
  13.  *    transfer of this program is strictly prohibited.
  14.  *
  15.  *      Copyright (c) 1987, 1988, 1989 FairCom Corporation
  16.  *    (Subject to limited distribution and
  17.  *     restricted disclosure only.)
  18.  *    *** ALL RIGHTS RESERVED ***
  19.  *
  20.  *    4006 West Broadway
  21.  *    Columbia, MO 65203
  22.  *
  23.  *
  24.  *    c-tree(R)    Version 4.3
  25.  *            Release C
  26.  *            February 7, 1989 17:30
  27.  *
  28.  */
  29.  
  30. #include <stdlib.h>
  31. #include <stdio.h>
  32. #include <string.h>
  33.  
  34. #include <net\netcons.h>
  35.  
  36. #include "ctpipes.h"
  37.  
  38. static char   username[UNLEN+1];
  39.  
  40. char* get_net_user_name()
  41. {
  42.    strcpy (username,"USER");
  43.    return (username);
  44.  
  45. } /* end get_net_user_name */
  46.  
  47.  
  48. char* get_net_computer_name()
  49. {
  50.  
  51.    strcpy (username,"LOKALT");
  52.    return (username);
  53.  
  54. } /* end get_net_computer_name */
  55.  
  56. char *konvert_drive_to_local(char *filename)
  57. {
  58.    return 0L;
  59. }
  60.  
  61.  
  62.