convert4-2.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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: convert4-2.h /main/1 1996/04/21 19:22:41 drk $ */
  24. /*
  25. * (c) Copyright 1993, 1994 Hewlett-Packard Company
  26. * (c) Copyright 1993, 1994 International Business Machines Corp.
  27. * (c) Copyright 1993, 1994 Novell, Inc.
  28. * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  29. */
  30. #ifndef _CONVERT4_2_H
  31. #define _CONVERT4_2_H
  32. #include "ansi_c.h"
  33. /* convert4-2.h: conversion routines for rpc.cmsd version 4 to
  34. rpc.cmsd version 2 data types
  35. */
  36. extern Table_Res_2 *_DtCm_tableres4_to_tableres2(Table_Res_4 *);
  37. extern Table_Status_2 _DtCm_tablestat4_to_tablestat2(Table_Status_4);
  38. extern Registration_Status_2 _DtCm_regstat4_to_regstat2(Registration_Status_4);
  39. extern Access_Status_2 _DtCm_accstat4_to_accstat2(Access_Status_4);
  40. extern Access_Args_2 *_DtCm_accargs4_to_accargs2(Access_Args_4*);
  41. extern Uid_2 *_DtCm_uid4_to_uid2(Uid_4*);
  42. extern Range_2 *_DtCm_range4_to_range2(Range_4*);
  43. extern Appt_2 *_DtCm_appt4_to_appt2(Appt_4*);
  44. extern void _DtCm_id4_to_id2(Id_4*, Id_2*);
  45. extern Access_Entry_2 *_DtCm_acclist4_to_acclist2(Access_Entry_4*);
  46. extern Uid_2 *_DtCm_uidopt4_to_uid2(Uidopt_4*);
  47. extern void _DtCm_free_attr2(Attribute_2 *a);
  48. extern void _DtCm_free_appt2(Appt_2 *a);
  49. #endif