exksh_tbls.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 librararies 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: exksh_tbls.h /main/4 1995/11/01 15:54:45 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: exksh_tbls.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for exksh_tbls.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_exksh_tbls_h
  42. #define _Dtksh_exksh_tbls_h
  43. extern int Pr_tmpnonames;
  44. extern int _Delim;
  45. extern int (*find_special(
  46. int type,
  47. char *name))() ;
  48. extern int set_special(
  49. char *name,
  50. int (*free)(),
  51. int (*parse)(),
  52. int (*print)()) ;
  53. extern int xk_parse(
  54. memtbl_t *tbl,
  55. char **buf,
  56. char *p,
  57. int nptr,
  58. int sub,
  59. void *pass,
  60. memtbl_t *(*tbl_find)()) ;
  61. extern int xk_get_delim(
  62. memtbl_t *tbl,
  63. char *p) ;
  64. extern int xk_get_pardelim(
  65. memtbl_t *tbl,
  66. char *p) ;
  67. extern int xk_print(
  68. memtbl_t *tbl,
  69. char **buf,
  70. char *p,
  71. int nptr,
  72. int sub,
  73. void *pass,
  74. memtbl_t *(*tbl_find)()) ;
  75. extern int xk_free(
  76. memtbl_t *tbl,
  77. char *p,
  78. int nptr,
  79. int sub,
  80. memtbl_t *(*tbl_find)()) ;
  81. #endif /* _Dtksh_exksh_tbls_h */
  82. /* DON'T ADD ANYTHING AFTER THIS #endif */