globals.c 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. * COMPONENT_NAME: austext
  25. *
  26. * FUNCTIONS: none
  27. *
  28. * ORIGINS: 27
  29. *
  30. *
  31. * (C) COPYRIGHT International Business Machines Corp. 1995
  32. * All Rights Reserved
  33. * Licensed Materials - Property of IBM
  34. * US Government Users Restricted Rights - Use, duplication or
  35. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  36. */
  37. /**************************** GLOBALS.C *************************
  38. * $XConsortium: globals.c /main/5 1996/05/07 13:34:49 drk $
  39. * March 1995.
  40. * Contains only the most global of DtSearch/AusText globals.
  41. * Used by everybody, including offlines, so must be kept
  42. * in a very small module, and reference as few headers as possible.
  43. *
  44. * $Log$
  45. * Revision 2.3 1995/10/26 15:19:28 miker
  46. * Added prolog.
  47. *
  48. * Revision 2.2 1995/10/02 20:32:00 miker
  49. * Comments cleanup only.
  50. *
  51. * Revision 2.1 1995/09/22 20:11:33 miker
  52. * Freeze DtSearch 0.1, AusText 2.1.8
  53. *
  54. * Revision 1.2 1995/09/05 17:53:52 miker
  55. * Added dtsearch_catd and _XOPEN_SOURCE for DtSearch.
  56. */
  57. #ifndef _XOPEN_SOURCE
  58. #define _XOPEN_SOURCE
  59. #endif
  60. #include <stdio.h>
  61. #include <Dt/MsgCatP.h>
  62. FILE *aa_stderr = NULL;
  63. char *aa_argv0 = "<argv0>";
  64. nl_catd dtsearch_catd = (nl_catd) -1;
  65. nl_catd austools_catd = (nl_catd) -1;
  66. void *ausapi_msglist = NULL; /* really (LLIST *) */