Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14683/client_libs/libplayerc++
Modified Files:
playerc++.h wifiproxy.cc
Log Message:
applied patch 1766099
Index: playerc++.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** playerc++.h 17 Sep 2007 02:18:52 -0000 1.99
--- playerc++.h 18 Oct 2007 22:23:52 -0000 1.100
***************
*** 2397,2400 ****
--- 2397,2414 ----
const playerc_wifi_link_t *GetLink(int aLink);
+ int GetLinkCount(){ return mDevice->link_count; };
+ char* GetOwnIP(){ return mDevice->ip; };
+
+ char* GetLinkIP(int index) { return (char*)
mDevice->links[index].ip; };
+ char* GetLinkMAC(int index) { return (char*)
mDevice->links[index].mac; };
+ char* GetLinkESSID(int index) { return
(char*)mDevice->links[index].essid; };
+ double GetLinkFreq(int index) {return
mDevice->links[index].freq;};
+ int GetLinkMode(int index) { return
mDevice->links[index].mode; };
+ int GetLinkEncrypt(int index) {return
mDevice->links[index].encrypt; };
+ int GetLinkQuality(int index) { return
mDevice->links[index].qual; };
+ int GetLinkLevel(int index) {return
mDevice->links[index].level; };
+ int GetLinkNoise(int index) {return
mDevice->links[index].noise; } ;
+
+ //player_wifi_link_t
// int GetLinkQuality(char/// ip = NULL);
// int GetLevel(char/// ip = NULL);
Index: wifiproxy.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/wifiproxy.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** wifiproxy.cc 6 Aug 2007 06:30:49 -0000 1.7
--- wifiproxy.cc 18 Oct 2007 22:23:52 -0000 1.8
***************
*** 44,47 ****
--- 44,52 ----
#include "playerc++.h"
+
+ /*
+ * methods for the proxy included in playerc++
+ */
+
using namespace PlayerCc;
***************
*** 61,64 ****
--- 66,70 ----
}
+
void
WiFiProxy::Subscribe(uint aIndex)
***************
*** 96,100 ****
{
os << "#WiFi (" << c.GetInterface() << ":" << c.GetIndex() << ")" <<
std::endl;
! return os;
}
--- 102,106 ----
{
os << "#WiFi (" << c.GetInterface() << ":" << c.GetIndex() << ")" <<
std::endl;
! return os;
}
-------------------------------------------------------------------------
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