2
0

proto.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $TOG: proto.h /main/5 1998/03/19 19:00:54 mgreess $ */
  24. /*
  25. * COMPONENT_NAME: austext
  26. *
  27. * FUNCTIONS: ADDRcmp
  28. * ALLOC_TABLE
  29. * INTcmp
  30. * Pi
  31. * alloc_table
  32. * check_dba
  33. * close
  34. * con_dbd
  35. * con_dbf
  36. * dbn_check
  37. * dio_close
  38. * dio_clrfile
  39. * dio_findpg
  40. * dio_get
  41. * dio_open
  42. * dio_out
  43. * dio_pzalloc
  44. * dio_pzdel
  45. * dio_pzgetts
  46. * dio_pznext
  47. * dio_pzread
  48. * dio_pzsetts
  49. * dio_read
  50. * dio_release
  51. * dio_rrlb
  52. * dio_setdef
  53. * dio_touch
  54. * dio_write
  55. * dio_wrlb
  56. * exit
  57. * fldcmp
  58. * free
  59. * get_element
  60. * getenv
  61. * initdbt
  62. * key_bldcom
  63. * key_boundary
  64. * key_cmpcpy
  65. * key_delete
  66. * key_init
  67. * key_insert
  68. * key_locpos
  69. * key_reset
  70. * key_scan
  71. * locking
  72. * lseek
  73. * memcmp
  74. * memcpy
  75. * memset
  76. * nfld_check
  77. * nrec_check
  78. * nset_check
  79. * null_dba
  80. * nw_addnm
  81. * nw_call
  82. * nw_cleanup
  83. * nw_delnm
  84. * nw_hangup
  85. * nw_rcvmsg
  86. * nw_reset
  87. * nw_send
  88. * o_fileinit
  89. * o_pages
  90. * o_pzwrite
  91. * o_search
  92. * o_write
  93. * open_b
  94. * r_chkfld
  95. * r_clropt
  96. * r_delrec
  97. * r_gfld
  98. * r_gmem
  99. * r_gset
  100. * r_pfld
  101. * r_pmem
  102. * r_pset
  103. * r_setopt
  104. * r_smem
  105. * r_tstopt
  106. * read
  107. * startup
  108. * strcat
  109. * strchr
  110. * strcmp
  111. * strcpy
  112. * strlen
  113. * strncmp
  114. * strncpy
  115. * strrchr
  116. * taf_add
  117. * taf_del
  118. * task_switch
  119. * taskinit
  120. * time
  121. * unlink
  122. * write
  123. *
  124. * ORIGINS: 157
  125. *
  126. */
  127. /*----------------------------------------------------------------------------
  128. proto.h: db_VISTA function declaration header file
  129. (This file must be included after dbtype.h)
  130. (C) Copyright 1988 by Raima Corporation.
  131. ----------------------------------------------------------------------------*/
  132. /* ********************** EDIT HISTORY *******************************
  133. SCR DATE INI DESCRIPTION
  134. ----- --------- --- -----------------------------------------------------
  135. 03-AUG-88 RTK Added internal MULTI_TASKing function prototypes
  136. 310 10-Aug-88 RSC Cleanup of function prototypes
  137. */
  138. /* From dberr.c: */
  139. void dbautorec(void);
  140. /* From dblfcns.c: */
  141. int taskinit(TASK *);
  142. int initdbt(const char *);
  143. int alloc_table(CHAR_P *, unsigned, unsigned);
  144. #define ALLOC_TABLE(t, n, o, v) alloc_table((CHAR_P *)(t), n, o)
  145. void termfree(void);
  146. /* From dio.c: */
  147. int dio_open(FILE_NO);
  148. int dio_close(FILE_NO);
  149. int dio_init(void);
  150. void dio_free(void);
  151. int dio_clrfile(FILE_NO);
  152. int dio_clear(void);
  153. int dio_flush(void);
  154. void dio_setdef(FILE_NO);
  155. int dio_get(F_ADDR, char **, int);
  156. int dio_touch(F_ADDR);
  157. int dio_read(DB_ADDR, char **, int);
  158. int dio_write(DB_ADDR, const char *, int);
  159. int dio_release(DB_ADDR);
  160. int dio_rrlb(DB_ADDR, INT *);
  161. int dio_wrlb(DB_ADDR, INT);
  162. int dio_findpg(FILE_NO, F_ADDR, PAGE_ENTRY *, PAGE_ENTRY **, LOOKUP_ENTRY **);
  163. int dio_out(PAGE_ENTRY *, LOOKUP_ENTRY *);
  164. int dio_pzread(FILE_NO);
  165. int dio_pzalloc(FILE_NO, F_ADDR *);
  166. int dio_pzdel(FILE_NO, F_ADDR);
  167. F_ADDR dio_pznext(FILE_NO);
  168. void dio_pzclr(void);
  169. /* From initenv.c: */
  170. int initenv(void);
  171. /* From inittab.c: */
  172. int inittab(void);
  173. /* From keyfcns.c: */
  174. int key_open(void);
  175. void key_close(void);
  176. int key_init(int);
  177. int key_reset(FILE_NO);
  178. int key_locpos(const char *, DB_ADDR *);
  179. int key_scan(int, DB_ADDR *);
  180. int key_boundary(int, DB_ADDR *);
  181. int key_insert(int, const char *, DB_ADDR);
  182. int key_delete(int, const char *, DB_ADDR);
  183. /* Due to a problem with MSC 5.1, we couldn't declare the 2nd parm
  184. of key_bldcom as const (see keyfcns.c) */
  185. int key_bldcom(int, char *, char *, int);
  186. /* Because of a "problem" with the MSC 5.1 compiler, we couldn't declare
  187. the second argument to key_cmpcpy with a const attribute. Hence we
  188. were not able to define the 2nd argument of key_bldcom as const. */
  189. void key_cmpcpy(char *, char *, INT);
  190. /* From libfcns.c: */
  191. int dbn_check(int);
  192. int nset_check(int, int *, SET_ENTRY **);
  193. int nfld_check(long, int *, int *, RECORD_ENTRY **, FIELD_ENTRY **);
  194. int nrec_check(int, int *, RECORD_ENTRY **);
  195. int fldcmp(FIELD_ENTRY *, const char *, const char *);
  196. int INTcmp(const char *, const char *);
  197. int ADDRcmp(const DB_ADDR *, const DB_ADDR *);
  198. int null_dba(const char *);
  199. int check_dba(DB_ADDR);
  200. /* From makenew.c: */
  201. int sk_free(void);
  202. /* From netwdos.c: */
  203. int netbios_chk(void);
  204. int nw_reset(int, int);
  205. int nw_addnm(char *, int *);
  206. int nw_cleanup(char *);
  207. int nw_sestat(void);
  208. int nw_delnm(char *);
  209. int nw_call(char *, char *, int *);
  210. int nw_hangup(int);
  211. int nw_send(int, MESSAGE *, int);
  212. int nw_rcvmsg(int, MESSAGE *, int, int *);
  213. /* From opens.c: */
  214. int open_b(const char *, int);
  215. /* From ovfcns.c: */
  216. int o_setup(void);
  217. int o_init(void);
  218. int o_fileinit(FILE_NO);
  219. int o_search(FILE_NO, F_ADDR, F_ADDR *);
  220. int o_write(PAGE_ENTRY *, LOOKUP_ENTRY *);
  221. int o_pzwrite(FILE_NO);
  222. int o_flush(void);
  223. int o_update(void);
  224. long o_pages(FILE_NO);
  225. void o_free(void);
  226. /* From recfcns.c: */
  227. int r_chkfld(INT, FIELD_ENTRY *, char *, const char *);
  228. int r_delrec(INT, DB_ADDR);
  229. int r_gfld(FIELD_ENTRY *, char *, char *);
  230. int r_gmem(int, char *, char *);
  231. int r_gset(int, char *, char *);
  232. int r_pfld(INT, FIELD_ENTRY *, char *, const char *, DB_ADDR *);
  233. int r_pmem(int, char *, char *);
  234. int r_pset(int, char *, char *);
  235. int r_smem(DB_ADDR *, INT);
  236. int r_setopt(FIELD_ENTRY *, char *);
  237. int r_clropt(FIELD_ENTRY *, char *);
  238. int r_tstopt(FIELD_ENTRY *, char *);
  239. /* From pathfcns.c */
  240. int con_dbd(char *, char *, char *);
  241. int con_dbf(char *, char *, char *, char *);
  242. char * get_element(char *, int);
  243. /* From renfile.c: */
  244. int renfiles(void);
  245. /* From startup.c: */
  246. int startup(DBN_FIX_D1 TASK_PTR_Di LOCK_Di);
  247. /* From taffcns.c: */
  248. int taf_open(void);
  249. int taf_close(void);
  250. int taf_access(void);
  251. int taf_release(void);
  252. int taf_add(const char *);
  253. int taf_del(const char *);
  254. /* From mapchar.c */
  255. int ctb_init(void);
  256. int ctbl_alloc(void);
  257. void ctbl_free(void);
  258. /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin proto.h */