extra.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: extra.h /main/4 1995/11/01 15:55:04 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: extra.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for extra.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_extra_h
  42. #define _Dtksh_extra_h
  43. extern void env_set(
  44. char *var) ;
  45. extern void env_set_gbl(
  46. char *vareqval) ;
  47. extern char * env_get(
  48. char *var) ;
  49. extern int ksh_eval(
  50. char *cmd) ;
  51. extern void env_set_var(
  52. char *var,
  53. char *val) ;
  54. extern void env_blank(
  55. char *var) ;
  56. extern void printerr(
  57. char *cmd,
  58. char *msg1,
  59. char *msg2) ;
  60. extern void printerrf(
  61. char *cmd,
  62. char *fmt,
  63. char *arg0,
  64. char *arg1,
  65. char *arg2,
  66. char *arg3,
  67. char *arg4,
  68. char *arg5,
  69. char *arg6,
  70. char *arg7) ;
  71. #endif /* _Dtksh_extra_h */
  72. /* DON'T ADD ANYTHING AFTER THIS #endif */