exksh_prpar.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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: exksh_prpar.h /main/4 1995/11/01 15:54:23 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: exksh_prpar.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for exksh_prpar.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_prpar_h
  42. #define _Dtksh_exksh_prpar_h
  43. extern unsigned int Pr_format;
  44. extern int xk_skipwhite(
  45. char **buf) ;
  46. extern int xk_backskip(
  47. char **buf,
  48. int *n) ;
  49. extern int xk_parexpect(
  50. char **buf,
  51. char *str) ;
  52. extern int xk_parpeek(
  53. char **buf,
  54. char *str) ;
  55. extern int xk_prin_int(
  56. memtbl_t *tbl,
  57. char **buf,
  58. unsigned long *old_v) ;
  59. extern int xk_par_int(
  60. char **buf,
  61. long *v,
  62. struct envsymbols *env) ;
  63. extern int xk_prin_nts(
  64. char **buf,
  65. char *str) ;
  66. extern int xk_prin_charstr(
  67. char **buf,
  68. unsigned char *str,
  69. int len) ;
  70. extern int xk_prin_hexstr(
  71. char **buf,
  72. char *str,
  73. int len) ;
  74. extern int xk_par_chararr(
  75. char **buf,
  76. char *str,
  77. int *len) ;
  78. extern int xk_par_nts(
  79. char **buf,
  80. char **str) ;
  81. extern int xk_par_charstr(
  82. char **buf,
  83. char **str,
  84. int *len) ;
  85. extern int xk_Strncmp(
  86. char *s1,
  87. char *s2,
  88. int len) ;
  89. #endif /* _Dtksh_exksh_prpar_h */
  90. /* DON'T ADD ANYTHING AFTER THIS #endif */