X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=libustcomm%2Fustcomm.h;h=0de4ad4610e411b492fff779e077ed9ada6f03df;hb=1f8b0dffac11b11fa7b582b6274c6b4cadf57bb3;hp=e661a5518bd577631255588a1d461eadf3d9e46e;hpb=688760ef257bee85e3841e0d27ecf4e2f921ef00;p=lttng-ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index e661a551..0de4ad46 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -11,6 +11,7 @@ struct ustcomm_connection { int fd; }; +/* ustcomm_server must be shallow-copyable */ struct ustcomm_server { /* the "server" socket for serving the external requests */ int listen_fd; @@ -27,6 +28,7 @@ struct ustcomm_app { struct ustcomm_server server; }; +/* ustcomm_source must be shallow-copyable */ struct ustcomm_source { int fd; void *priv;