mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
24 lines
319 B
C
24 lines
319 B
C
|
#ifndef __FSERVE_H__
|
||
|
#define __FSERVE_H__
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
client_t *client;
|
||
|
|
||
|
FILE *file;
|
||
|
int offset;
|
||
|
int datasize;
|
||
|
unsigned char *buf;
|
||
|
} fserve_t;
|
||
|
|
||
|
void fserve_initialize(void);
|
||
|
void fserve_shutdown(void);
|
||
|
int fserve_client_create(client_t *httpclient, char *path);
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|