Category : C Source Code
Archive   : LSAM23.ZIP
Filename : LSRCODES.H

 
Output of file : LSRCODES.H contained in archive : LSAM23.ZIP
/*
lsrcodes.h return code symbolic values
for Lydian Software Access Method
Copyright (C) Lydian Software, 1987, 1988
*/
/* INTERFACE FUNCTION RETURN CODE VALUES: */
#define RGOOD 0 /* all clear - OK, all others except REOF are errors */
#define IXERR1 (~RGOOD) /* NOT CURRENTLY USED */
#define IXERR2 (IXERR1 - 1) /* ftell() error returned from ls_bldindx() */
#define RREADERR 1 /* error reading index file (internal runtime code)*/
#define RWRITERR 2 /* error writing index file (internal runtime code)*/
#define RSEEKERR 3 /* error seeking on base file (interface code) */
#define ROPENERR 4 /* error opening index file (internal runtime code)*/
#define RCLOSERR 5 /* error closing index file (internal runtime code)*/
#define RLOGIERR 6 /* user logic error */
#define RILLOGIC RLOGIERR
#define RNOCORE 7 /* error allocating memory (internal runtime code) */
#define RFREEERR 8 /* error freeing memory (internal runtime code) */
#define RNOSPACE 9 /* */
#define RBADCODE 10 /* invalid request code (internal error) */
#define REOF 11 /* sequential read logical EOF */
#define RNOTFND 12 /* no entry found on index search */
#define RDUPKEY 13 /* duplicate key on insert request */
#define RIXISNEW 14 /* ls_is_ix_new() ix file is 'new'(created this run)*/
#define RHANDLE0 60 /* (INTERNAL/non-user error) ix handle invalid */
#define RNOTOPEN 61 /* base/index file set not open */
#define RALROPEN 62 /* base/index file set already open */
#define RMAXFIL 63 /* index control block table limit exceeded */
#define RDELETERR 64 /* erase (unlink) error on index file create */
#define RBASECREATEERR 65 /* open error on base file force create */
#define RPTRERR 66 /* base file pointer passed by user is not valid */
#define RIXSUBERR 67 /* index file subscript passed by user is not valid */
#define RNOENV 70 /* environment variable not found for ls_open() */
#define RNOPARMNAME 71 /* null parm file name passed to ls_open() */
#define RPARMOPENERR 72 /* parm file open error during ls_open() processing*/
#define RPARMREADERR 73 /* parm file read error during ls_open() processing*/
#define RPARMCLOSERR 74 /* parm file close error during ls_open() processing*/
#define RBLDREADBERR 75 /* ctl block base entry read error during ls_open() */
#define RBLDALLOCBERR 76 /* ctl block base entry alloc. error during ls_open() */
#define RBLDSTRDUPBERR 77 /* ctl block base name strdup() error during ls_open() */
#define RBLDALLOCIERR 78 /* ctl block index entry alloc. error during ls_open() */
#define RBLDREADILERR 79 /* ctl block ix. entry length read error: ls_open()*/
#define RBLDREADIERR 80 /* ctl block ix. entry read error: ls_open() */
#define RBLDSTRDUPIERR 81 /* ctl block ix. name strdup() error: ls_open() */
#define RBLDALLOCKERR 82 /* ctl block key(s) entry alloc. error: ls_open() */
#define RFREERTLERR 89 /* error freeing RTL memory by ls_release() */
#define RBADVER 90 /* Unsupported exec interface for this RTL version */
#define RINITERR 100 /* user init. error (ls_open() was not 1st call) */
#define RSTAKERR 110 /* RTL tree traversal stack error (internal) */


  3 Responses to “Category : C Source Code
Archive   : LSAM23.ZIP
Filename : LSRCODES.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/