summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-05-12 11:16:59 -0700
committerSan Mehat <san@google.com>2009-05-12 14:02:32 -0700
commitd768066ef54270a0d3ccfccd50ae8238db5a2cdd (patch)
treeeea4b978f43fad98d561ef97a7fec0d9d502ac14 /include
parentc73d9e43a0c98a87222ef0c8749d6abba06c7778 (diff)
downloadsystem_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.zip
system_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.tar.gz
system_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.tar.bz2
libsysutils: Tweak SocketListener and friends
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysutils/SocketClient.h2
-rw-r--r--include/sysutils/SocketListener.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sysutils/SocketClient.h b/include/sysutils/SocketClient.h
index 39ec7ae..cde64a5 100644
--- a/include/sysutils/SocketClient.h
+++ b/include/sysutils/SocketClient.h
@@ -15,8 +15,8 @@ public:
int getSocket() { return mSocket; }
+ int sendMsg(int code, char *msg, bool addErrno);
int sendMsg(char *msg);
- int sendMsg(char *msg, char *data);
};
typedef android::List<SocketClient *> SocketClientCollection;
diff --git a/include/sysutils/SocketListener.h b/include/sysutils/SocketListener.h
index be97421..30d050d 100644
--- a/include/sysutils/SocketListener.h
+++ b/include/sysutils/SocketListener.h
@@ -37,8 +37,8 @@ public:
int startListener();
int stopListener();
+ void sendBroadcast(int code, char *msg, bool addErrno);
void sendBroadcast(char *msg);
- void sendBroadcast(char *msg, char *data);
protected:
virtual bool onDataAvailable(SocketClient *c) = 0;