File: http.h

package info (click to toggle)
shell-fm 0.7%2Bgit20100414-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 444 kB
  • ctags: 305
  • sloc: ansic: 4,422; makefile: 135; python: 80; haskell: 76; sh: 67; perl: 19
file content (22 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
	vim:syntax=c tabstop=2 shiftwidth=2 noexpandtab
*/

#ifndef SHELLFM_HTTP
#define SHELLFM_HTTP

#include <stdio.h>
#include <sys/time.h>

#include "hash.h"

extern char ** fetch(const char *, FILE **, const char *, const char *);
extern char ** cache(const char *, const char *, int);
extern unsigned encode(const char *, char **);
extern unsigned decode(const char *, char **);
extern const char * makeurl(const char *, ...);
extern void unhtml(char *);
extern void lag(time_t);
extern void freeln(char **, unsigned *);

#endif