KInit
proctitle.h
Go to the documentation of this file.00001 /* 00002 * ProFTPD - FTP server daemon 00003 * Copyright (c) 2007 The ProFTPD Project team //krazy:exclude=copyright 00004 * Copyright (c) 2007 Alex Merry <alex.merry@kdemail.net> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the 00018 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301 USA 00020 */ 00021 00022 #ifndef PROCTITLE_H 00023 #define PROCTITLE_H 00024 00034 void proctitle_init(int argc, char *argv[], char *envp[]); 00035 00042 void proctitle_set(const char *fmt, ...) 00043 #ifdef __GNUC__ 00044 __attribute__ (( format ( printf, 1, 2 ) ) ) 00045 #endif 00046 ; 00047 00048 #endif /* PROCTITLE_H */