Parse.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. /*****************************************************************************
  24. *
  25. * File: Parse.h
  26. *
  27. * Project: CDE
  28. *
  29. * Description: This file contains the external function definitions
  30. * for the Front Panel keyword-value parsing routines.
  31. *
  32. *
  33. ****************************************************************************/
  34. #ifndef _parse_h
  35. #define _parse_h
  36. extern Boolean StringToString (char *, void **);
  37. extern Boolean StringToInt (char *, void **);
  38. extern Boolean StringToBoolean (char *, void **);
  39. extern Boolean StringToResolution (char *, void **);
  40. extern Boolean StringToColorUse (char *, void **);
  41. extern Boolean StringToControlBehavior (char *, void **);
  42. extern Boolean StringToGeometry (char *, void **);
  43. extern Boolean StringToAction (char *, void **);
  44. extern Boolean StringToControlType (char *, void **);
  45. extern Boolean StringToMonitorType (char *, void **);
  46. extern Boolean StringToControlContainerType (char *, void **);
  47. extern Boolean StringToPositionHints (char *, void **);
  48. extern Boolean StringToFileName (char *, void **);
  49. extern void FreeString (void **);
  50. extern void FreeGeometry (void **);
  51. extern void FreeAction (void **);
  52. #endif /* _parse_h */
  53. /* DON"T ADD ANYTHING AFTER THIS #endif */