Lines Matching refs:roles
35 - direct compatibility with all other lws roles + protocols in the same event loop
41 The code specific to that role should live in `./lib/roles/**role name**`
46 ### Allowing control over enabling roles
48 All roles should add a cmake define `LWS_ROLE_**role name**` and make its build
57 The role is defined by `struct lws_role_ops` in `lib/roles/private-lib-roles.h`,
60 `./lib/roles/**role name**/ops-**role_name**.c`.
67 directory in a file `private-lib-roles-myrole.h`.
69 Search for "bring in role private declarations" in `./lib/roles/private-lib-roles.h
70 and add your private role file there following the style used for the other roles,
75 #include "roles/ws/private-lib-roles-ws.h"
114 ### Adding to lws available roles list