2
0

SmAuth.h 3.0 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. /*
  24. * (c) Copyright 1995 Digital Equipment Corporation.
  25. * (c) Copyright 1995 Hewlett-Packard Company.
  26. * (c) Copyright 1995 International Business Machines Corp.
  27. * (c) Copyright 1995 Sun Microsystems, Inc.
  28. * (c) Copyright 1995 Novell, Inc.
  29. * (c) Copyright 1995 FUJITSU LIMITED.
  30. * (c) Copyright 1995 Hitachi.
  31. *
  32. * $XConsortium: SmAuth.h /main/1 1995/12/29 20:17:43 barstow $
  33. */
  34. /******************************************************************************
  35. Copyright (c) 1993 X Consortium
  36. Permission is hereby granted, free of charge, to any person obtaining a copy
  37. of this software and associated documentation files (the "Software"), to deal
  38. in the Software without restriction, including without limitation the rights
  39. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  40. copies of the Software, and to permit persons to whom the Software is
  41. furnished to do so, subject to the following conditions:
  42. The above copyright notice and this permission notice shall be included in
  43. all copies or substantial portions of the Software.
  44. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  45. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  46. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  47. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  48. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  49. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  50. Except as contained in this notice, the name of the X Consortium shall not be
  51. used in advertising or otherwise to promote the sale, use or other dealings
  52. in this Software without prior written authorization from the X Consortium.
  53. ******************************************************************************/
  54. #ifndef _smauth_h
  55. #define _smauth_h
  56. #include <X11/ICE/ICEutil.h>
  57. Bool HostBasedAuthProc (
  58. char *hostname);
  59. Status SetAuthentication (
  60. int count,
  61. IceListenObj *listenObjs,
  62. IceAuthDataEntry **authDataEntries);
  63. void FreeAuthenticationData (
  64. int count,
  65. IceAuthDataEntry *authDataEntries);
  66. #endif /* _smauth_h */