ttauth.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. * $TOG: ttauth.h /main/1 1999/08/30 10:47:04 mgreess $
  25. *
  26. *
  27. Copyright 1989, 1998 The Open Group
  28. All Rights Reserved.
  29. The above copyright notice and this permission notice shall be included in
  30. all copies or substantial portions of the Software.
  31. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  32. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  33. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  34. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  35. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  36. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  37. Except as contained in this notice, the name of The Open Group shall not be
  38. used in advertising or otherwise to promote the sale, use or other dealings
  39. in this Software without prior written authorization from The Open Group.
  40. * *
  41. * Author: Jim Fulton, MIT X Consortium
  42. */
  43. #include <stdio.h>
  44. #include <stdlib.h>
  45. #include <X11/Xos.h>
  46. #include <X11/Xfuncs.h>
  47. #ifndef True
  48. typedef int Bool;
  49. #define False 0
  50. #define True 1
  51. #endif
  52. extern char *ProgramName;
  53. int process_command(), auth_initialize(), auth_finalize();
  54. extern int print_help();
  55. extern int verbose;
  56. extern Bool ignore_locks;
  57. extern Bool break_locks;