613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross/*
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * Copyright (c) 2000, Boris Popov
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * All rights reserved.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross *
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * Redistribution and use in source and binary forms, with or without
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * modification, are permitted provided that the following conditions
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * are met:
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * 1. Redistributions of source code must retain the above copyright
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * notice, this list of conditions and the following disclaimer.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * 2. Redistributions in binary form must reproduce the above copyright
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * notice, this list of conditions and the following disclaimer in the
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * documentation and/or other materials provided with the distribution.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * 3. All advertising materials mentioning features or use of this software
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * must display the following acknowledgement:
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * This product includes software developed by Boris Popov.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * 4. Neither the name of the author nor the names of any co-contributors
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * may be used to endorse or promote products derived from this software
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * without specific prior written permission.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross *
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross * SUCH DAMAGE.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross */
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#ifndef _SMBUTIL_COMMON_H
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#define _SMBUTIL_COMMON_H
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#ifdef __cplusplus
4bff34e37def8a90f9194d81bc345c52ba20086athurlowextern "C" {
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#endif
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#include <stdio.h>
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#include <stdlib.h>
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_crypt(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_help(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_login(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_logout(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_logoutall(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_lookup(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_print(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_status(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowint cmd_view(int argc, char *argv[]);
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow/* No crypt_usage? */
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid help_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid login_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid logout_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid logoutall_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid lookup_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid print_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid status_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlowvoid view_usage(void);
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowextern int loadsmbvfs();
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#ifdef __cplusplus
4bff34e37def8a90f9194d81bc345c52ba20086athurlow}
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#endif
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#endif /* _SMBUTIL_COMMON_H */