Changeset 1349:9582e89c7130 in roaraudio for include/libroar/vio_proto.h


Ignore:
Timestamp:
03/23/09 18:13:26 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

changed a lot, got gopher working :), need cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_proto.h

    r1347 r1349  
    3838#include "libroar.h" 
    3939 
     40struct roar_vio_defaults; 
     41 
     42#define ROAR_VIO_PROTO_P_NONE      0 
     43#define ROAR_VIO_PROTO_P_HTTP      1 
     44#define ROAR_VIO_PROTO_P_GOPHER    2 
     45 
     46int roar_vio_proto_init_def  (struct roar_vio_defaults * def, char * dstr, int proto, struct roar_vio_defaults * odef); 
     47 
     48int roar_vio_open_proto      (struct roar_vio_calls * calls, struct roar_vio_calls * dst, 
     49                              char * dstr, int proto, struct roar_vio_defaults * odef); 
     50 
     51int roar_vio_open_proto_http   (struct roar_vio_calls * calls, struct roar_vio_calls * dst, char * host, char * file); 
     52int roar_vio_open_proto_gopher (struct roar_vio_calls * calls, struct roar_vio_calls * dst, char * host, char * file); 
    4053#endif 
    4154 
Note: See TracChangeset for help on using the changeset viewer.