/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License (the "Licence").
 * You may not use this file except in compliance with the Licence.
 *
 * You can obtain a copy of the licence at RISC OS path @.^.LICENCE
 * or  http://www.riscosdev.com/lanman98/LICENCE.CDDL
 * See the Licence for the specific language governing permissions
 * and limitations under the Licence.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the Licence file. If applicable, add the
 * following below this CDDL HEADER, with the fields enclosed by
 * brackets "[]" replaced with your own identifying information:
 * Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */
 
/*
 *   Copyright 1996 Warm Silence Software Ltd.  All rights reserved.
 *   Use is subject to license terms.
 */

/*   PHBG  17/3/98:  Initial version
 *   PHBG  20/12/98: Changed to enumerate current LM98 mounts
 */

#ifndef _LM98ENUM_
#define _LM98ENUM_

/*
    The one error from the module that is worth telling apart.

    Everything else comes back without a number; this one keeps its own so
    that a machine that is switched off is not answered with the connect
    window and the password ready to retype, which says the password was
    wrong.  The definition on the module's side is in h.vc in the LanMan
    directory - the two are not built together and have no header in common,
    so the value is written in both places on purpose.
*/
#define ERR_SERVER_UNREACHABLE (0x52680)

void LM98EnumBegin(void);

int LM98EnumGoing(void);

void LM98EnumNext(void);

int LM98EnumMount(void);

char *LM98EnumName(void);

#endif
