0
|
1 |
//
|
|
2 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
// All rights reserved.
|
|
4 |
// This component and the accompanying materials are made available
|
|
5 |
// under the terms of "Eclipse Public License v1.0"
|
|
6 |
// which accompanies this distribution, and is available
|
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
//
|
|
9 |
// Initial Contributors:
|
|
10 |
// Nokia Corporation - initial contribution.
|
|
11 |
//
|
|
12 |
// Contributors:
|
|
13 |
//
|
|
14 |
// Description:
|
|
15 |
//
|
|
16 |
|
|
17 |
/*-
|
|
18 |
* Copyright (c) 1992, 1993
|
|
19 |
* The Regents of the University of California. All rights reserved.
|
|
20 |
*
|
|
21 |
* Redistribution and use in source and binary forms, with or without
|
|
22 |
* modification, are permitted provided that the following conditions
|
|
23 |
* are met:
|
|
24 |
* 1. Redistributions of source code must retain the above copyright
|
|
25 |
* notice, this list of conditions and the following disclaimer.
|
|
26 |
* 2. Redistributions in binary form must reproduce the above copyright
|
|
27 |
* notice, this list of conditions and the following disclaimer in the
|
|
28 |
* documentation and/or other materials provided with the distribution.
|
|
29 |
* 3. All advertising materials mentioning features or use of this software
|
|
30 |
* must display the following acknowledgement:
|
|
31 |
* This product includes software developed by the University of
|
|
32 |
* California, Berkeley and its contributors.
|
|
33 |
* 4. Neither the name of the University nor the names of its contributors
|
|
34 |
* may be used to endorse or promote products derived from this software
|
|
35 |
* without specific prior written permission.
|
|
36 |
*
|
|
37 |
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
38 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
39 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
40 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
41 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
42 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
43 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
44 |
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
45 |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
46 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
47 |
* SUCH DAMAGE.
|
|
48 |
*
|
|
49 |
* @(#)extern.h 8.2 (Berkeley) 4/4/94
|
|
50 |
* NetBSD: extern.h,v 1.2 1995/04/11 02:44:49 cgd Exp
|
|
51 |
* $Id: extern.h,v 1.5 1999/07/16 01:12:54 dholland Exp $
|
|
52 |
*/
|
|
53 |
|
|
54 |
void blkfree __P((char **));
|
|
55 |
char **copyblk __P((char **));
|
|
56 |
void cwd __P((const char *));
|
|
57 |
void dele __P((char *));
|
|
58 |
void dologout __P((int));
|
|
59 |
void fatal __P((const char *));
|
|
60 |
int ftpd_pclose __P((FILE *));
|
|
61 |
FILE *ftpd_popen __P((char *, const char *));
|
|
62 |
char *ftpd_getline __P((char *, int, FILE *));
|
|
63 |
void ftpdlogwtmp __P((const char *, const char *, const char *));
|
|
64 |
void lreply __P((int, const char *, ...));
|
|
65 |
void makedir __P((char *));
|
|
66 |
void nack __P((const char *));
|
|
67 |
void pass __P((char *));
|
|
68 |
void passive __P((void));
|
|
69 |
void perror_reply __P((int, const char *));
|
|
70 |
void pwd __P((void));
|
|
71 |
void removedir __P((char *));
|
|
72 |
void renamecmd __P((char *, char *));
|
|
73 |
char *renamefrom __P((char *));
|
|
74 |
void reply __P((int, const char *, ...));
|
|
75 |
void retrieve __P((const char *, const char *));
|
|
76 |
void send_file_list __P((const char *, int));
|
|
77 |
void statcmd __P((void));
|
|
78 |
void statfilecmd __P((char *));
|
|
79 |
void store __P((const char *, const char *, int));
|
|
80 |
void upper __P((char *));
|
|
81 |
void user __P((char *));
|
|
82 |
void yyerror __P((char *));
|
|
83 |
void toolong __P((int));
|
|
84 |
int yyparse __P((void));
|
|
85 |
void sizecmd __P((char *));
|
|
86 |
|
|
87 |
struct utmp;
|
|
88 |
void login(const struct utmp *);
|
|
89 |
int logout(const char *line);
|
|
90 |
|
|
91 |
#ifdef __linux__
|
|
92 |
#include "daemon.h"
|
|
93 |
#include "setproctitle.h"
|
|
94 |
#endif
|