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

/*
 * 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;
typedef struct nxt_go_process_s        nxt_go_process_t;

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_ */