utils.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef _UTILS_H
00020
#define _UTILS_H
00021
00022
#include <stdlib.h>
00023
#include <mysql/mysql.h>
00024
#include <libmysqlwrapped.h>
00025
#include <libfd.h>
00026
#include <string>
00027
#include <libcgi++.h>
00028
00029
00030
void zap(
char *,
char);
00031
char *
fget(
char *,
int,FILE *);
00032
char *
datetime(
void);
00033
char *
expiredatetime(
void);
00034
void textareain(
char *);
00035
#ifndef WIN32
00036
void strlwr(
char *);
00037
#endif
00038
void set_cookie(Cookies *cs,
char *n,
char *v);
00039
void set_cookie(Cookies *cs,
char *n,
long v);
00040
00041
#ifndef WIN32
00042
void strupr(
char *s);
00043
#endif
00044
void strupr(std::string&);
00045
int syscall(
char *s);
00046
int name_ok(
char *);
00047
void remove_br(
char *s);
00048
00049
void pack_and_set_cookies(Cookies *);
00050
void unpack_cookie(Cookies *);
00051
00052
#endif // _UTILS_H
Generated on Thu Feb 10 22:42:34 2005 for Distributed URL Classification Tool by
1.3.7