xref: /unit/src/nxt_capability.h (revision 1182)
1*1182St.nateldemoura@f5.com /*
2*1182St.nateldemoura@f5.com  * Copyright (C) Igor Sysoev
3*1182St.nateldemoura@f5.com  * Copyright (C) NGINX, Inc.
4*1182St.nateldemoura@f5.com  */
5*1182St.nateldemoura@f5.com 
6*1182St.nateldemoura@f5.com #ifndef _NXT_CAPABILITY_INCLUDED_
7*1182St.nateldemoura@f5.com #define _NXT_CAPABILITY_INCLUDED_
8*1182St.nateldemoura@f5.com 
9*1182St.nateldemoura@f5.com typedef struct {
10*1182St.nateldemoura@f5.com     uint8_t  setid;  /* 1 bit */
11*1182St.nateldemoura@f5.com } nxt_capabilities_t;
12*1182St.nateldemoura@f5.com 
13*1182St.nateldemoura@f5.com 
14*1182St.nateldemoura@f5.com NXT_EXPORT nxt_int_t nxt_capability_set(nxt_task_t *task,
15*1182St.nateldemoura@f5.com     nxt_capabilities_t *cap);
16*1182St.nateldemoura@f5.com 
17*1182St.nateldemoura@f5.com #endif /* _NXT_CAPABILITY_INCLUDED_ */
18