projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ust: add info exchange between app and ustd
[ust.git]
/
libustcomm
/
ustcomm.h
diff --git
a/libustcomm/ustcomm.h
b/libustcomm/ustcomm.h
index 53ced5140c962d604fc50992350db50dda48ba6b..91ac80d442c80c16719b4c175ac797ab1eb1fb69 100644
(file)
--- a/
libustcomm/ustcomm.h
+++ b/
libustcomm/ustcomm.h
@@
-4,20
+4,32
@@
#include <sys/types.h>
#include <sys/un.h>
#include <sys/types.h>
#include <sys/un.h>
-struct ustcomm_app {
- /* the "server" socket for serving the external requests */
+#include "kcompat.h"
+
+struct ustcomm_connection {
+ struct list_head list;
int fd;
int fd;
- char *socketpath;
};
};
-struct ustcomm_
ustd
{
+struct ustcomm_
server
{
/* the "server" socket for serving the external requests */
/* the "server" socket for serving the external requests */
- int fd;
+ int
listen_
fd;
char *socketpath;
char *socketpath;
+
+ struct list_head connections;
+};
+
+struct ustcomm_ustd {
+ struct ustcomm_server server;
+};
+
+struct ustcomm_app {
+ struct ustcomm_server server;
};
struct ustcomm_source {
};
struct ustcomm_source {
- struct sockaddr_un addr;
+ int fd;
+ void *priv;
};
int send_message(pid_t pid, const char *msg, char **reply);
};
int send_message(pid_t pid, const char *msg, char **reply);
This page took
0.024533 seconds
and
4
git commands to generate.