summaryrefslogblamecommitdiffhomepage
path: root/src/nxt_capability.h
blob: 60bbd5f8e614f4c9b22f7532d8a5abb3f2d892d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                         
/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_CAPABILITY_INCLUDED_
#define _NXT_CAPABILITY_INCLUDED_

typedef struct {
    uint8_t  setid;  /* 1 bit */
} nxt_capabilities_t;


NXT_EXPORT nxt_int_t nxt_capability_set(nxt_task_t *task,
    nxt_capabilities_t *cap);

#endif /* _NXT_CAPABILITY_INCLUDED_ */