Changeset 5465:d5e7bc292531 in roaraudio for include/libroar/basic.h


Ignore:
Timestamp:
03/31/12 02:30:26 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

no longer use fixed protocol version (_ROAR_MESSAGE_VERSION=0).
protocol version is now used by setting in message object.
If using connection based req (roar_req()) it will use version from connection
object setting. The connection object get's a default from the config.
The config key is "protocolversion".
roard will answer in the same version as the request was send in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/basic.h

    r5381 r5465  
    102102                                 void * userdata); 
    103103 
     104int roar_set_connection_version(struct roar_connection * con, int version); 
     105 
    104106int roar_sync         (struct roar_connection * con); 
    105107int roar_wait_msg     (struct roar_connection * con, int16_t seq, int16_t seqmask); 
Note: See TracChangeset for help on using the changeset viewer.