X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=7d845920fe0d0b57dd438b24f1ef0d0a8827af2b;hb=aca1ad90ac68780598f7bcce7b475670f2a48cb0;hp=53ced5140c962d604fc50992350db50dda48ba6b;hpb=b02e31e53039229b50d2f54ee31d68709aba1412;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index 53ced51..7d84592 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -4,16 +4,27 @@ #include #include +#include "kcompat.h" + +struct ustcomm_connection { + struct list_head list; + int fd; +}; + struct ustcomm_app { /* the "server" socket for serving the external requests */ - int fd; + int listen_fd; char *socketpath; + + struct list_head connections; }; struct ustcomm_ustd { /* the "server" socket for serving the external requests */ - int fd; + int listen_fd; char *socketpath; + + struct list_head connections; }; struct ustcomm_source {