2
0

Info.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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: Info.h /main/2 1996/03/26 15:05:44 barstow $
  24. *
  25. * (c) Copyright 1996 Digital Equipment Corporation.
  26. * (c) Copyright 1996 Hewlett-Packard Company.
  27. * (c) Copyright 1996 International Business Machines Corp.
  28. * (c) Copyright 1996 Sun Microsystems, Inc.
  29. * (c) Copyright 1996 Novell, Inc.
  30. * (c) Copyright 1996 FUJITSU LIMITED.
  31. * (c) Copyright 1996 Hitachi.
  32. *
  33. */
  34. #ifndef _dt_info_h_
  35. #define _dt_info_h_
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. typedef enum {
  40. DtINFO_SHOW_OK,
  41. DtINFO_SHOW_BAD_LOCATOR, /* the locator argument is NULL */
  42. DtINFO_SHOW_TT_OPEN_FAIL, /* tt_open() failed */
  43. DtINFO_SHOW_MSG_CREATE_FAIL, /* tt_message_create() failed */
  44. DtINFO_SHOW_MSG_SEND_FAIL /* tt_message_send() failed */
  45. } DtInfoShowStatus;
  46. extern DtInfoShowStatus DtInfoShowTopic (
  47. const char * info_lib, /* The InfoLib to browse */
  48. const char * locator); /* The locator in Generalized Locator
  49. Format */
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif /* _dt_info_h_ */