aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpX_py.cpp
blob: 276d637d707c22088359eb3ceecf2e402d9aca07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <WarpX_py.H>

extern "C" {

    WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterinit = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforeEsolve = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterEsolve = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforedeposition = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterdeposition = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_particlescraper = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleloader = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforestep = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterstep = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterrestart = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleinjection = nullptr;
    WARPX_CALLBACK_PY_FUNC_0 warpx_py_appliedfields = nullptr;

}

amp;follow=1'>mod.rs (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-05-06ffi: expose client-side session resumption and 0-RTT APIGravatar Norman Maurer 2-0/+33
Motivation: Quiche added support for session resumption and 0-RTT lately but the API was not exposed via the C api. This was done in https://github.com/cloudflare/quiche/pull/911 and https://github.com/cloudflare/quiche/pull/914. Modifications: Add C API to also be able to make use of the functionality via C. Result: Be able to use session resumption and 0-RTT via the C api
2021-05-05check the packet length against the buffer sizeGravatar Junho Choi 1-1/+70
When we queue 0-rtt packets in undecryptable_pkts, there is a case that actual packet length is smaller than the size in the payload (packet length field) which may cause a runtime panic. Such packet is undecryptable in any way, so check it early and return error.