Yet Another eXchange Tool
0.9.0
src
xt_request_internal.h
Go to the documentation of this file.
1
13
/*
14
* Keywords:
15
* Maintainer: Jörg Behrens <behrens@dkrz.de>
16
* Moritz Hanke <hanke@dkrz.de>
17
* Thomas Jahns <jahns@dkrz.de>
18
* URL: https://doc.redmine.dkrz.de/yaxt/html/
19
*
20
* Redistribution and use in source and binary forms, with or without
21
* modification, are permitted provided that the following conditions are
22
* met:
23
*
24
* Redistributions of source code must retain the above copyright notice,
25
* this list of conditions and the following disclaimer.
26
*
27
* Redistributions in binary form must reproduce the above copyright
28
* notice, this list of conditions and the following disclaimer in the
29
* documentation and/or other materials provided with the distribution.
30
*
31
* Neither the name of the DKRZ GmbH nor the names of its contributors
32
* may be used to endorse or promote products derived from this software
33
* without specific prior written permission.
34
*
35
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
36
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
37
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
38
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
39
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
40
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
41
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
42
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
43
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
44
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
45
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46
*/
47
#ifndef XT_REQUEST_INTERNAL_H
48
#define XT_REQUEST_INTERNAL_H
49
50
#include "
xt/xt_request.h
"
51
52
struct
Xt_request_vtable
{
53
void (*
wait
)(
Xt_request
request);
54
int (*
test
)(
Xt_request
request);
55
};
56
57
struct
Xt_request_
{
58
const
struct
Xt_request_vtable
*
vtable
;
59
};
60
61
#endif
62
/*
63
* Local Variables:
64
* c-basic-offset: 2
65
* coding: utf-8
66
* indent-tabs-mode: nil
67
* show-trailing-whitespace: t
68
* require-trailing-newline: t
69
* End:
70
*/
Xt_request_
Definition:
xt_request_internal.h:57
Xt_request_::vtable
const struct Xt_request_vtable * vtable
Definition:
xt_request_internal.h:58
Xt_request_vtable
Definition:
xt_request_internal.h:52
Xt_request_vtable::wait
void(* wait)(Xt_request request)
Definition:
xt_request_internal.h:53
Xt_request_vtable::test
int(* test)(Xt_request request)
Definition:
xt_request_internal.h:54
xt_request.h
Generated by
1.9.1