1 /* 2 * Copyright (c) 1994-2008 Carnegie Mellon University. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in 13 * the documentation and/or other materials provided with the 14 * distribution. 15 * 16 * 3. The name "Carnegie Mellon University" must not be used to 17 * endorse or promote products derived from this software without 18 * prior written permission. For permission or any legal 19 * details, please contact 20 * Carnegie Mellon University 21 * Center for Technology Transfer and Enterprise Creation 22 * 4615 Forbes Avenue 23 * Suite 302 24 * Pittsburgh, PA 15213 25 * (412) 268-7393, fax: (412) 268-7395 26 * innovation@andrew.cmu.edu 27 * 28 * 4. Redistributions of any form whatsoever must retain the following 29 * acknowledgment: 30 * "This product includes software developed by Computing Services 31 * at Carnegie Mellon University (http://www.cmu.edu/computing/)." 32 * 33 * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO 34 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 35 * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE 36 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 37 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 38 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 39 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 40 */ 41 42 #ifndef READCONFIG_H 43 #define READCONFIG_H 44 45 #include "macros.h" 46 47 int EXPreadfile(FILE *F); 48 49 int ExpireExists(int num); 50 51 time_t GetExpireTime(int num); 52 53 char *GetExpireName(int num); 54 55 int readconfig_init(void); 56 57 void artificial_matchall(int days); 58 59 void 60 callback_list(struct imclient *imclient, 61 void *rock, 62 struct imclient_reply *reply); 63 64 #endif /* READCONFIG_H */ 65