X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fhttp.h;fp=src%2Fhttp.h;h=c85b004756aea4482204e98a91084901c4910bea;hb=46060dff64e29c944d2d70d446b14850f686a0e4;hp=0000000000000000000000000000000000000000;hpb=79b84fe8eb9db4d6a0a8f32d705dd75383cd6366;p=ppastats.git diff --git a/src/http.h b/src/http.h new file mode 100644 index 0000000..c85b004 --- /dev/null +++ b/src/http.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2011-2012 jeanfi@gmail.com + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + +#ifndef _PPASTATS_HTTP_H_ +#define _PPASTATS_HTTP_H_ + +char *get_url_content(const char *url, unsigned int use_cache); + +void http_cleanup(); + +#endif