genlib.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. /* $XConsortium: genlib.h /main/4 1995/11/01 15:55:32 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: genlib.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for genlib.c
  32. **
  33. **
  34. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
  35. ** by Hewlett-Packard Company
  36. **
  37. **
  38. **
  39. ****************************************************************************
  40. ************************************<+>*************************************/
  41. #ifndef _Dtksh_genlib_h
  42. #define _Dtksh_genlib_h
  43. #include "exksh.h"
  44. extern struct libstruct *All_libs;
  45. extern int xk_usage(
  46. char *funcname) ;
  47. extern unsigned long fsym(
  48. char *str,
  49. int lib) ;
  50. extern int do_findsym(
  51. int argc,
  52. char **argv) ;
  53. #ifndef SPRINTF_RET_LEN
  54. extern int lsprintf(
  55. char *buf,
  56. char *fmt,
  57. unsigned long arg1,
  58. unsigned long arg2,
  59. unsigned long arg3,
  60. unsigned long arg4,
  61. unsigned long arg5,
  62. unsigned long arg6,
  63. unsigned long arg7) ;
  64. #endif
  65. #endif /* _Dtksh_genlib_h */
  66. /* DON'T ADD ANYTHING AFTER THIS #endif */