home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Networking / SambaManager / NetInfoKeys.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-25  |  1.4 KB  |  43 lines

  1. /*
  2.     SambaManger. A graphical frontend to configure the NetInfo enhanced samba.
  3.     Copyright (C) 1998  Robert Frank
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by
  7.     the Free Software Foundation; either version 2 of the License, or
  8.     (at your option) any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.         
  19.         Robert Frank, frank@ifi.unibas.ch
  20. */
  21.  
  22. // NetInfo directories:
  23. #define SMNI_GROUPS            "/groups"
  24. #define SMNI_HOSTS            "/machines"
  25. #define SMNI_PRINTERS        "/printers"
  26. #define SMNI_SAMBA            "/samba"
  27. #define SMNI_USERS            "/users"
  28. #define SMNI_SERVICES        "/services"
  29. #define SMNIP_PROTOCOLS    "protocols"
  30.  
  31. // The property names of a directory:
  32. #define SMNIP_NAME            "name"
  33. #define SMNIP_PORT            "port"
  34. #define SMNIP_PROTOCOL    "protocol"
  35. #define SMNIP_NUMBER    "number"
  36.  
  37. // The property values:
  38. #define SMNIP_NBSSN     "netbios-ssn"
  39. #define SMNIP_NBNS      "netbios-ns"
  40.  
  41. // The property name of a hosts netgroups:
  42. #define SMNIP_NETGROUP    "netgroups"
  43.