/* Copyright 1998 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*
*  Lan Manager client
*
*  RPC.H -- Header for C.RPC functions
*
*  Versions
*  02-02-95 INH Original
*
*/

extern err_t RPC_EnumerateShares ( char *server );
extern err_t RPC_EnumerateServers ( char *workgroup );
extern char *RPC_GetDomainController ( char *domain );
extern err_t RPC_LogonUser ( char *server, char *user, char *password,
                              char **pHomeDir );


extern err_t RPC_NameOp ( int reason, char *name_in, char *name_out );
#define NAMEOP_GETLOCAL   0
#define NAMEOP_GETWG      1
#define NAMEOP_GETBROWSER 2
#define NAMEOP_GETDC      3

extern err_t RPC_Transact ( char *servername, char *share_name,
                                    void *Transaction_Params );

extern char  RPC_DebugMsg[];
extern int   RPC_ErrorCount;
extern bool  RPC_Init( void );