File: vstream-client.h

package info (click to toggle)
vstream-client 1.2-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 388 kB
  • ctags: 264
  • sloc: ansic: 3,883; sh: 92; makefile: 76; awk: 59
file content (19 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _VSTREAM_H
#define _VSTREAM_H

#include <inttypes.h>

int vstream_start( );
int vstream_startstream( char *fsid );
int64_t vstream_streamsize( );
void vstream_list_streams( int longList );
int vstream_load_chunk( char *fsid, unsigned char *buff, int size, int64_t offset );
void vstream_set_socket_fd( int fd );
int vstream_open_socket( char *addy );

// you must implement this if you link against this library:
void vstream_error( const char *format, ... );

#define VSERVER_PORT 8074

#endif