File: messages.cpp

package info (click to toggle)
odil 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,476 kB
  • sloc: cpp: 55,982; python: 3,947; javascript: 460; xml: 182; makefile: 99; sh: 36
file content (48 lines) | stat: -rw-r--r-- 1,800 bytes parent folder | download | duplicates (5)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*************************************************************************
 * odil - Copyright (C) Universite de Strasbourg
 * Distributed under the terms of the CeCILL-B license, as published by
 * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
 * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
 * for details.
 ************************************************************************/

#include <pybind11/pybind11.h>

void wrap_Message(pybind11::module &);
void wrap_CommandTypeEnum(pybind11::module &);
void wrap_ResponseStatus(pybind11::module &);
void wrap_Request(pybind11::module &);
void wrap_Response(pybind11::module &);
void wrap_CEchoRequest(pybind11::module &);
void wrap_CEchoResponse(pybind11::module &);
void wrap_CFindRequest(pybind11::module &);
void wrap_CFindResponse(pybind11::module &);
void wrap_CGetRequest(pybind11::module &);
void wrap_CGetResponse(pybind11::module &);
void wrap_CMoveRequest(pybind11::module &);
void wrap_CMoveResponse(pybind11::module &);
void wrap_CStoreRequest(pybind11::module &);
void wrap_CStoreResponse(pybind11::module &);
void wrap_NSetRequest(pybind11::module &);
void wrap_NCreateRequest(pybind11::module &);

void wrap_messages(pybind11::module & m)
{
    auto messages = m.def_submodule("messages");
    wrap_Message(messages);
    wrap_ResponseStatus(messages);
    wrap_Request(messages);
    wrap_Response(messages);
    wrap_CEchoRequest(messages);
    wrap_CEchoResponse(messages);
    wrap_CFindRequest(messages);
    wrap_CFindResponse(messages);
    wrap_CGetRequest(messages);
    wrap_CGetResponse(messages);
    wrap_CMoveRequest(messages);
    wrap_CMoveResponse(messages);
    wrap_CStoreRequest(messages);
    wrap_CStoreResponse(messages);
    wrap_NSetRequest(messages);
    wrap_NCreateRequest(messages);
}