CreateIndexFileXtd Extended index file creation. Short Name CREIDXX() Type Extended low-level index file function Declaration COUNT CreateIndexFileXtd(COUNT keyno, pTEXT filnam, COUNT keylen, COUNT keytyp, COUNT keydup, COUNT nomemb, UCOUNT xtdsiz, COUNT filmod, LONG permmask, pTEXT groupid, pTEXT fileword) Description CreateIndexFileXtd() is a variation of CreateIndexFile() permitting use of the c-tree Server’s security system. Please read the description of CreateIndexFile() before proceeding, since only the extended features are described here. permmask is the permission mask assigned to this data file. It is formed by OR-ing the appropriate permission constants. groupid is a pointer to a buffer containing the group id assigned to this file. The group id must be valid for the user that is creating the file. If groupid is null, the file is assigned to the user’s default group. fileword is an optional file password. If fileword is null, no password is stored for this file. If one is established, every user will need to use the password to be able to open the file. For more information on permission masks, group id’s, and file passwords, refer to “Security and Encryption” of the c-tree Plus Programmer’s Reference Guide. Return The following error code may be seen in addition to those for CreateIndexFile():
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. |
|||||||||