X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=0de4ad4610e411b492fff779e077ed9ada6f03df;hb=3a7b90de71f2a82f73f06fb14a7b77805aea1064;hp=e661a5518bd577631255588a1d461eadf3d9e46e;hpb=46ef48cdf8b64608a4f679500bc34293b9f0b649;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index e661a55..0de4ad4 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;