last

git clone git://oldgit.suckless.org/last/
Log | Files | Refs

last.h (609B)


      1 #ifndef EXTERN
      2 #  define EXTERN extern
      3 #endif
      4 
      5 EXTERN char debug[0x7f];
      6 EXTERN int skipping;
      7 EXTERN char *host, *basepath, *streamhost, *streampath, *session;
      8 
      9 typedef struct VFmt VFmt;
     10 struct VFmt {
     11 	char *fmt;
     12 	va_list args;
     13 };
     14 
     15 void	msg(char*, ...);
     16 void	exitsall(char*, ...);
     17 void	getmeta(void);
     18 
     19 void	initplayer(void);
     20 void	newstream(void);
     21 void	endstream(void);
     22 
     23 char*	query(const char*, const char*);
     24 int	parseuri(char*, char**, char**);
     25 void	httpinit(void);
     26 Biobuf*	httpget(char*, char*);
     27 
     28 void	noblock(int);
     29 void	label(const char*, ...);
     30 
     31 char*	tok(char**);
     32 void	printfile(char*, const char*, ...);
     33