summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_port_memory.h
blob: ca0cc967bc846ef7d5c8fc31b7b0a2a10c4ebd9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

/*
 * Copyright (C) Max Romanov
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_GO_PORT_MEMORY_H_INCLUDED_
#define _NXT_GO_PORT_MEMORY_H_INCLUDED_


#include <nxt_main.h>
#include <nxt_port_memory_int.h>

typedef struct nxt_port_mmap_header_s  nxt_port_mmap_header_t;

#ifndef _NXT_GO_PROCESS_T_DEFINED_
#define _NXT_GO_PROCESS_T_DEFINED_
typedef struct nxt_go_process_s nxt_go_process_t;
#endif

nxt_port_mmap_header_t *
nxt_go_port_mmap_get(nxt_go_process_t *process, nxt_port_id_t port_id,
    nxt_chunk_id_t *c);


#endif /* _NXT_GO_PORT_MEMORY_H_INCLUDED_ */