1 /* 2 * Copyright (c) International Business Machines Corp., 2004 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 12 * the GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 /* 20 * FILE NAME : dm_vars.h 21 * 22 * PURPOSE : Define variation number bases for all DMAPI test cases 23 */ 24 25 /* session.c */ 26 #define CREATE_SESSION_BASE 1000 27 #define DESTROY_SESSION_BASE 1050 28 #define GETALL_SESSIONS_BASE 1100 29 #define QUERY_SESSION_BASE 1150 30 31 /* handle.c */ 32 #define PATH_TO_HANDLE_BASE 1200 33 #define FD_TO_HANDLE_BASE 1250 34 #define PATH_TO_FSHANDLE_BASE 1300 35 #define HANDLE_TO_FSHANDLE_BASE 1350 36 #define HANDLE_CMP_BASE 1400 37 #define HANDLE_FREE_BASE 1450 38 #define HANDLE_IS_VALID_BASE 1500 39 #define HANDLE_HASH_BASE 1550 40 #define HANDLE_TO_FSID_BASE 1600 41 #define HANDLE_TO_IGEN_BASE 1650 42 #define HANDLE_TO_INO_BASE 1700 43 #define MAKE_HANDLE_BASE 1750 44 #define MAKE_FSHANDLE_BASE 1800 45 #define HANDLE_TO_PATH_BASE 1850 46 #define SYNC_BY_HANDLE_BASE 1900 47 48 /* event_sn.c */ 49 #define DIR_SYNC_NAMESP_EVENT_BASE 1950 50 #define FILE_SYNC_NAMESP_EVENT_BASE 2000 51 52 /* event_sd.c */ 53 #define FILE_READ_DATA_EVENT_BASE 2050 54 #define FILE_WRITE_DATA_EVENT_BASE 2100 55 #define FILE_TRUNC_DATA_EVENT_BASE 2150 56 57 /* event_an.c */ 58 #define DIR_ASYNC_NAMESP_EVENT_BASE 2200 59 #define FILE_ASYNC_NAMESP_EVENT_BASE 2250 60 61 /* pmr_pre.c */ 62 #define SET_REGION_BASE 2300 63 64 /* pmr_post.c */ 65 #define GET_REGION_BASE 2350 66 67 /* event_am.c */ 68 #define DIR_ASYNC_META_EVENT_BASE 2400 69 #define FILE_ASYNC_META_EVENT_BASE 2450 70 #define SET_RETURN_ON_DESTROY_BASE 2500 71 72 /* hole.c */ 73 #define GET_ALLOCINFO_BASE 2550 74 #define PROBE_HOLE_BASE 2600 75 #define PUNCH_HOLE_BASE 2650 76 77 /* invis.c */ 78 #define READ_INVIS_BASE 2700 79 #define WRITE_INVIS_BASE 2750 80 81 /* attr.c */ 82 #define SET_DMATTR_BASE 2800 83 #define GET_DMATTR_BASE 2850 84 #define REMOVE_DMATTR_BASE 2900 85 #define GETALL_DMATTR_BASE 2950 86 #define SET_FILEATTR_BASE 3000 87 #define GET_FILEATTR_BASE 3050 88 #define INIT_ATTRLOC_BASE 3100 89 #define GET_DIRATTRS_BASE 3150 90 #define SET_INHERIT_BASE 3200 91 #define CLEAR_INHERIT_BASE 3250 92 #define GETALL_INHERIT_BASE 3300 93 94 /* event_us.c */ 95 #define CREATE_USEREVENT_BASE 3350 96 #define SEND_MSG_BASE 3400 97 #define FIND_EVENTMSG_BASE 3450 98 99 /* disp.c */ 100 #define GET_CONFIG_EVENTS_BASE 3500 101 #define SET_DISP_BASE 3550 102 #define GETALL_DISP_BASE 3600 103 #define SET_EVENTLIST_BASE 3650 104 #define GET_EVENTLIST_BASE 3800 105 106 /* config.c */ 107 #define GET_CONFIG_BASE 3850 108 109 /* objref.c */ 110 #define OBJ_REF_HOLD_BASE 3900 111 #define OBJ_REF_RELE_BASE 3950 112 #define OBJ_REF_QUERY_BASE 4000 113 114 /* mount.c */ 115 #define GET_MOUNTINFO_BASE 4050 116 117 /* token.c */ 118 #define GETALL_TOKENS_BASE 4100 119 120 /* right.c */ 121 #define REQUEST_RIGHT_BASE 4150 122 #define RELEASE_RIGHT_BASE 4200 123 #define QUERY_RIGHT_BASE 4250 124 #define UPGRADE_RIGHT_BASE 4300 125 #define DOWNGRADE_RIGHT_BASE 4350 126 127 /* mmap.c */ 128 #define MMAP_READ_BASE 4400 129 #define MMAP_WRITE_BASE 4450 130 131 /* event.c */ 132 #define GET_EVENTS_BASE 4500 133 #define RESPOND_EVENT_BASE 4550 134 #define MOVE_EVENT_BASE 4600 135 #define PENDING_BASE 4650 136