Update of /cvsroot/playerstage/code/player/client_libs/libplayerc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29188/libplayerc

Modified Files:
        dev_blackboard.c playerc.h 
Log Message:
work on the blackboard proxies, added c++, updates for c


Index: playerc.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/playerc.h,v
retrieving revision 1.235
retrieving revision 1.236
diff -C2 -d -r1.235 -r1.236
*** playerc.h   24 Oct 2007 22:32:02 -0000      1.235
--- playerc.h   31 Oct 2007 01:18:42 -0000      1.236
***************
*** 1124,1129 ****
  int playerc_blackboard_unsubscribe(playerc_blackboard_t *device);
  
! /** @brief Subscribe to a key. */
! int playerc_blackboard_subscribe_to_key(playerc_blackboard_t *device, const 
char* key, player_blackboard_entry_t* entry);
  
  /** @brief Unsubscribe from a key. */
--- 1124,1130 ----
  int playerc_blackboard_unsubscribe(playerc_blackboard_t *device);
  
! /** @brief Subscribe to a key. If entry is none null it will be filled in 
with the response. The caller is
!  * responsible for freeing it. */
! int playerc_blackboard_subscribe_to_key(playerc_blackboard_t *device, const 
char* key, player_blackboard_entry_t** entry);
  
  /** @brief Unsubscribe from a key. */

Index: dev_blackboard.c
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc/dev_blackboard.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** dev_blackboard.c    24 Oct 2007 22:32:02 -0000      1.3
--- dev_blackboard.c    31 Oct 2007 01:18:42 -0000      1.4
***************
*** 91,95 ****
  // Subscribe to a blackboard key
  int playerc_blackboard_subscribe_to_key(playerc_blackboard_t* device, const 
char* key,
!               player_blackboard_entry_t* entry_out)
  {
        player_blackboard_entry_t req;
--- 91,95 ----
  // Subscribe to a blackboard key
  int playerc_blackboard_subscribe_to_key(playerc_blackboard_t* device, const 
char* key,
!               player_blackboard_entry_t** entry_out)
  {
        player_blackboard_entry_t req;
***************
*** 102,106 ****
                &device->info,
                PLAYER_BLACKBOARD_REQ_SUBSCRIBE_TO_KEY,
!               &req, NULL) < 0)
        {
                free(req.key);
--- 102,106 ----
                &device->info,
                PLAYER_BLACKBOARD_REQ_SUBSCRIBE_TO_KEY,
!               &req, entry_out) < 0)
        {
                free(req.key);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to