Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <u> warning: use extreme caution when modifying the bindery. we</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WARNING:  Use  extreme caution when modifying  the  Bindery.   We
 suggest  that  you initially backup your Bindery and  create  new
 objects  to  "practice"  on before  modifying  existing  objects.
 Communication  Horizons  assumes  no  responsibility  under   any
 circumstances  for any damage done to the Bindery,  even  if  the
 functions are used exactly as specified.


The prefix NB_ has been added to all the Bindery #defines so as
to have the compiler not confuse them with reserved keywords.
We recommend that you change your source code to reflect the
new names, but if you prefer, you can globally remove 'NB_' from
all #defines to reclaim the old names.

Bindery Objects

#define NB_WILD                 -1
#define NB_USER                  1
#define NB_USER_GROUP            2
#define NB_PRINT_QUEUE           3
#define NB_FILE_SERVER           4
#define NB_JOB_SERVER            5
#define NB_GATEWAY               6
#define NB_PRINT_SERVER          7
#define NB_ARCHIVE_QUEUE         8
#define NB_ARCHIVE_SERVER        9
#define NB_JOB_QUEUE            10

Bindery Properties

Item Properties - use N_B_PRVAL
#define NB_ACCOUNT_BALANCE     "ACCOUNT_BALANCE"
#define NB_IDENTIFICATION      "IDENTIFICATION"
#define NB_FULLNAME            "IDENTIFICATION"
#define NB_LOGIN_CONTROL       "LOGIN_CONTROL"
#define NB_NET_ADDRESS         "NET_ADDRESS"
#define NB_PASSWORD            "PASSWORD"

Set Properties - use N_B_MEMBERS, N_B_ISMEMBER
#define NB_ACCOUNT_SERVERS     "ACCOUNT_SERVERS"
#define NB_GROUPS_IM_IN        "GROUPS_I'M_IN"
#define NB_GROUP_MEMBERS       "GROUP_MEMBERS"
#define NB_OPERATORS           "OPERATORS"
#define NB_SECURITY_EQUALS     "SECURITY_EQUALS"

Object/Property Read Security
#define NB_ANYONE_READ           0   Anyone attached to server
#define NB_LOGGED_READ           1   Anyone logged into server
#define NB_OBJECT_READ           2   Currently logged in object only
#define NB_SUPERVISOR_READ       3   Supervisor
#define NB_NETWARE_READ          4   NetWare

Object/Property Write Security (Add, Modify, Delete, etc.)
#define NB_ANYONE_WRITE          0
#define NB_LOGGED_WRITE         16
#define NB_OBJECT_WRITE         32
#define NB_SUPERVISOR_WRITE     48
#define NB_NETWARE_WRITE        64

Object/Property Longevity Flags
#define NB_STATIC                0   Object/Property is static
#define NB_DYNAMIC               1   Deleted when server rebooted

Property Types
#define NB_ITEM_PROPERTY         0
#define NB_SET_PROPERTY          2


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson