/contrib/ntp/include/isc/lib.h

https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 39 lines · 10 code · 8 blank · 21 comment · 0 complexity · 16ce5301b37da3628be845f8f418d764 MD5 · raw file

  1. /*
  2. * Copyright (C) 1999-2001 Internet Software Consortium.
  3. *
  4. * Permission to use, copy, modify, and distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  9. * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  10. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  11. * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
  12. * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
  13. * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  14. * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  15. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. /* $Id: lib.h,v 1.7 2001/11/19 03:08:25 mayer Exp $ */
  18. #ifndef ISC_LIB_H
  19. #define ISC_LIB_H 1
  20. #include <isc/types.h>
  21. #include <isc/lang.h>
  22. ISC_LANG_BEGINDECLS
  23. LIBISC_EXTERNAL_DATA extern isc_msgcat_t *isc_msgcat;
  24. void
  25. isc_lib_initmsgcat(void);
  26. /*
  27. * Initialize the ISC library's message catalog, isc_msgcat, if it
  28. * has not already been initialized.
  29. */
  30. ISC_LANG_ENDDECLS
  31. #endif /* ISC_LIB_H */