2 Unix SMB/CIFS implementation.
3 Endpoint mapper data definitions
4 Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2003
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #define EPM_HANDLE_LEN 20
23 /* ordinal for the mapping interface */
25 #define EPM_MAP_PIPE_NAME 0x03
27 /* some of the different connection protocols and their IDs from Windows */
29 #define EPM_FLOOR_UUID 0x0d /* floor contains UUID */
30 #define EPM_FLOOR_RPC 0x0b /* tower is for connection-oriented rpc */
31 #define EPM_FLOOR_TCP 0x07 /* floor contains tcp port number */
32 #define EPM_FLOOR_IP 0x09 /* floor contains IP address */
33 #define EPM_FLOOR_NMPIPES 0x0f /* floor contains remote named pipe name */
34 #define EPM_FLOOR_LRPC 0x10 /* floor contains local named pipe name */
35 #define EPM_FLOOR_NETBIOS 0x11 /* floor contains netbios address */
36 #define EPM_FLOOR_NETBEUI 0x12 /* floor contains netbeui address */
37 #define EPM_FLOOR_SOCKET 0x20
39 #define EPM_PIPE_NM "epmapper"
45 uint8 data
[EPM_HANDLE_LEN
];
67 char string
[MAXHOSTNAMELEN
+3]; /* hostname + \\ + null term */
85 EPM_HANDLE term_handle
; /* in/out */
94 uint32
*tower_ref_ids
;
102 EPM_TOWER_ARRAY
*results
;
107 /* port mapping entries to be read */
109 typedef struct _mapper_entries
{
111 RPC_IFACE uuid_info
; /* needs to be zeroed if no specific uuid */
116 char func_name
[16][16]; /* array of up to 16 functions available */