Changeset 5146:716400712348 in roaraudio for include


Ignore:
Timestamp:
10/15/11 12:48:07 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Moved error frame handling into proto functions (pr0)

Location:
include/libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/basic.h

    r5114 r5146  
    103103int roar_recv_message (struct roar_connection * con, struct roar_message * mes, char ** data); 
    104104int roar_req          (struct roar_connection * con, struct roar_message * mes, char ** data); 
     105int roar_recv_message2 (struct roar_connection * con, struct roar_message * mes, char ** data, 
     106                        struct roar_error_frame * errorframe); 
     107int roar_req2          (struct roar_connection * con, struct roar_message * mes, char ** data, 
     108                        struct roar_error_frame * errorframe); 
     109#define roar_req3(con,mes,data) roar_req2((con), (mes), (data), roar_err_errorframe()) 
    105110 
    106111int roar_vsend_message(struct roar_vio_calls  * vio, struct roar_message * mes, char *  data); 
    107112int roar_vrecv_message(struct roar_vio_calls  * vio, struct roar_message * mes, char ** data); 
    108113int roar_vreq         (struct roar_vio_calls  * vio, struct roar_message * mes, char ** data); 
     114int roar_vrecv_message2(struct roar_vio_calls  * vio, struct roar_message * mes, char ** data, 
     115                        struct roar_error_frame * errorframe); 
     116int roar_vreq2         (struct roar_vio_calls  * vio, struct roar_message * mes, char ** data, 
     117                        struct roar_error_frame * errorframe); 
    109118 
    110119int roar_debug_message_print    (struct roar_message * mes) _LIBROAR_ATTR_DEPRECATED; 
  • include/libroar/error.h

    r5109 r5146  
    6767}; 
    6868 
     69struct roar_error_frame * roar_err_errorframe(void); 
     70 
    6971int    roar_err_int(struct roar_error_frame * frame); 
     72int    roar_err_init(struct roar_error_frame * frame); 
     73void * roar_err_buildmsg2(struct roar_message * mes, void ** data, struct roar_error_frame * frame); 
     74int    roar_err_parsemsg2(struct roar_message * mes, void *  data, struct roar_error_frame * frame); 
    7075void * roar_err_buildmsg(struct roar_message * mes, struct roar_error_frame * frame); 
    7176int    roar_err_parsemsg(struct roar_message * mes, struct roar_error_frame * frame); 
Note: See TracChangeset for help on using the changeset viewer.