36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/*
|
|
NDS client for ncpfs
|
|
Copyright (C) 1997 Arne de Bruijn
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#ifndef _NDSLIB_H_
|
|
#define _NDSLIB_H_
|
|
|
|
#include "ncplib.h"
|
|
typedef unsigned short uni_char;
|
|
|
|
#define NDS_GRACE_PERIOD -223
|
|
|
|
int strlen_u(const uni_char *s);
|
|
void strcpy_uc(char *d, const uni_char *s);
|
|
void strcpy_cu(uni_char *d, const char *s);
|
|
long nds_get_server_name(struct ncp_conn *conn, uni_char **server_name);
|
|
long nds_get_tree_name(struct ncp_conn *conn, char *name, int name_buf_len);
|
|
long nds_login_auth(struct ncp_conn *conn, const char *user, const char *pwd);
|
|
|
|
#endif /* ifndef _NDSLIB_H_ */
|