1 /*---------------------------------------------------------------------------- 2 -- 3 -- Module: xtmEdAclAfs 4 -- 5 -- Project: XDiary 6 -- System: xtm - X Desktop Calendar 7 -- Subsystem: <> 8 -- Function block: <> 9 -- 10 -- Description: 11 -- Interface file for module xtmEdAclAfs. 12 -- 13 -- Filename: xtmEdAclAfs.h 14 -- 15 -- Authors: Roger Larsson, Ulrika Bornetun 16 -- Creation date: 1992-10-30 17 -- 18 -- 19 -- (C) Copyright Ulrika Bornetun, Roger Larsson (1995) 20 -- All rights reserved 21 -- 22 -- Permission to use, copy, modify, and distribute this software and its 23 -- documentation for any purpose and without fee is hereby granted, 24 -- provided that the above copyright notice appear in all copies. Ulrika 25 -- Bornetun and Roger Larsson make no representations about the usability 26 -- of this software for any purpose. It is provided "as is" without express 27 -- or implied warranty. 28 ----------------------------------------------------------------------------*/ 29 30 /* SCCS module identifier. */ 31 /* SCCSID = @(#) Module: xtmEdAclAfs.h, Version: 1.1, Date: 95/02/18 15:58:54 */ 32 33 34 /* Include this file only once. */ 35 #ifndef define_xtmEditAclAfs_h 36 # define define_xtmEditAclAfs_h 37 38 39 /*---------------------------------------------------------------------------- 40 -- Include files 41 ----------------------------------------------------------------------------*/ 42 43 #include "xitInfo.h" 44 #include "xtmGlobal.h" 45 46 47 /*---------------------------------------------------------------------------- 48 -- Macro definitions 49 ----------------------------------------------------------------------------*/ 50 51 52 /*---------------------------------------------------------------------------- 53 -- Type declarations 54 ----------------------------------------------------------------------------*/ 55 56 /* Reasons when the action routine is called. */ 57 typedef enum { 58 XTM_AA_REASON_APPLY, 59 XTM_AA_REASON_CHANGED, 60 XTM_AA_REASON_DESTROY, 61 XTM_AA_REASON_OK 62 } XTM_AA_REASON; 63 64 /* Handle to use when comminucating with the window. */ 65 typedef void *XTM_AA_HANDLE; 66 67 /* Callback. */ 68 typedef void ( *XTM_AA_ACTION_CB ) (XTM_AA_REASON, void *); 69 70 71 /*---------------------------------------------------------------------------- 72 -- Global definitions 73 ----------------------------------------------------------------------------*/ 74 75 76 /*---------------------------------------------------------------------------- 77 -- Function prototypes 78 ----------------------------------------------------------------------------*/ 79 80 81 82 /*---------------------------------------------------------------------------- 83 -- Functions 84 ----------------------------------------------------------------------------*/ 85 86 void 87 xtmAaDestroy( XTM_AA_HANDLE acl_handle ); 88 89 void 90 xtmAaEditAcl( XTM_AA_HANDLE acl_handle, 91 char *cal_name, 92 char *cal_location ); 93 94 XTM_AA_HANDLE 95 xtmAaInitialize( XTM_GL_CUSTOM_DATA_REF custom_data_ref, 96 XIT_IN_HANDLE info_handle, 97 Widget parent, 98 char *system_admin_acl, 99 XTM_AA_ACTION_CB actionCB, 100 void *user_data ); 101 102 #endif 103