home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbisavail.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  966 b   |  33 lines

  1. .Na "DBISAVAIL" 
  2. .Aa
  3. .Fu
  4. Determine whether a DBPROCESS is available for general use.
  5. .Ih "DBPROCESS, determining whether it is available"
  6. .Sy
  7. .Sf "DBBOOL DBISAVAIL(dbproc)"
  8. .Sp "DBPROCESS" "*dbproc"
  9. .Co
  10. .Bl
  11. This routine indicates whether the specified DBPROCESS is available for general
  12. use.
  13. When a DBPROCESS is first opened, it is marked as being available,
  14. until some use
  15. is made of it. Many \*L routines will automatically set
  16. the DBPROCESS to ``not available,'' but only \f2dbsetavail()\fP will reset
  17. it to ``available.''
  18. This facility is useful when several parts of a program
  19. are attempting to share a single DBPROCESS.
  20. .Bz
  21. .Pa
  22. .Pi dbproc
  23. A pointer to the DBPROCESS structure that provides the connection
  24. for a particular front-end/\*S process.  It contains all the
  25. information that \*L uses to manage communications and data between the
  26. front end and \*S.
  27. .in -.375i
  28. .Re
  29. .br
  30. TRUE if the DBPROCESS is available for general use, otherwise FALSE.
  31. .Sa
  32. dbsetavail
  33.