1*10023SGordon.Ross@Sun.COM /* 2*10023SGordon.Ross@Sun.COM * Copyright (c) 2000, Boris Popov 3*10023SGordon.Ross@Sun.COM * All rights reserved. 4*10023SGordon.Ross@Sun.COM * 5*10023SGordon.Ross@Sun.COM * Redistribution and use in source and binary forms, with or without 6*10023SGordon.Ross@Sun.COM * modification, are permitted provided that the following conditions 7*10023SGordon.Ross@Sun.COM * are met: 8*10023SGordon.Ross@Sun.COM * 1. Redistributions of source code must retain the above copyright 9*10023SGordon.Ross@Sun.COM * notice, this list of conditions and the following disclaimer. 10*10023SGordon.Ross@Sun.COM * 2. Redistributions in binary form must reproduce the above copyright 11*10023SGordon.Ross@Sun.COM * notice, this list of conditions and the following disclaimer in the 12*10023SGordon.Ross@Sun.COM * documentation and/or other materials provided with the distribution. 13*10023SGordon.Ross@Sun.COM * 3. All advertising materials mentioning features or use of this software 14*10023SGordon.Ross@Sun.COM * must display the following acknowledgement: 15*10023SGordon.Ross@Sun.COM * This product includes software developed by Boris Popov. 16*10023SGordon.Ross@Sun.COM * 4. Neither the name of the author nor the names of any co-contributors 17*10023SGordon.Ross@Sun.COM * may be used to endorse or promote products derived from this software 18*10023SGordon.Ross@Sun.COM * without specific prior written permission. 19*10023SGordon.Ross@Sun.COM * 20*10023SGordon.Ross@Sun.COM * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 21*10023SGordon.Ross@Sun.COM * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22*10023SGordon.Ross@Sun.COM * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23*10023SGordon.Ross@Sun.COM * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 24*10023SGordon.Ross@Sun.COM * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25*10023SGordon.Ross@Sun.COM * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26*10023SGordon.Ross@Sun.COM * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27*10023SGordon.Ross@Sun.COM * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28*10023SGordon.Ross@Sun.COM * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29*10023SGordon.Ross@Sun.COM * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30*10023SGordon.Ross@Sun.COM * SUCH DAMAGE. 31*10023SGordon.Ross@Sun.COM */ 32*10023SGordon.Ross@Sun.COM 336007Sthurlow #ifndef _SMBUTIL_COMMON_H 346007Sthurlow #define _SMBUTIL_COMMON_H 356007Sthurlow 366007Sthurlow #ifdef __cplusplus 376007Sthurlow extern "C" { 386007Sthurlow #endif 396007Sthurlow 406007Sthurlow #include <stdio.h> 416007Sthurlow #include <stdlib.h> 426007Sthurlow 436007Sthurlow int cmd_crypt(int argc, char *argv[]); 446007Sthurlow int cmd_help(int argc, char *argv[]); 456007Sthurlow int cmd_login(int argc, char *argv[]); 466007Sthurlow int cmd_logout(int argc, char *argv[]); 476007Sthurlow int cmd_logoutall(int argc, char *argv[]); 486007Sthurlow int cmd_lookup(int argc, char *argv[]); 496007Sthurlow int cmd_print(int argc, char *argv[]); 506007Sthurlow int cmd_status(int argc, char *argv[]); 516007Sthurlow int cmd_view(int argc, char *argv[]); 526007Sthurlow 536007Sthurlow /* No crypt_usage? */ 546007Sthurlow void help_usage(void); 556007Sthurlow void login_usage(void); 566007Sthurlow void logout_usage(void); 576007Sthurlow void logoutall_usage(void); 586007Sthurlow void lookup_usage(void); 596007Sthurlow void print_usage(void); 606007Sthurlow void status_usage(void); 616007Sthurlow void view_usage(void); 626007Sthurlow 636007Sthurlow extern int loadsmbvfs(); 646007Sthurlow 656007Sthurlow #ifdef __cplusplus 666007Sthurlow } 676007Sthurlow #endif 686007Sthurlow 696007Sthurlow #endif /* _SMBUTIL_COMMON_H */ 70