source: appstream-generator/build/girepo/gio/DatagramBasedIF.d @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 1.7 KB
Line 
1/*
2 * Licensed under the GNU Lesser General Public License Version 3
3 *
4 * This library is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the license, or
7 * (at your option) any later version.
8 *
9 * This software is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18// generated automatically - do not change
19
20
21module gio.DatagramBasedIF;
22
23private import gi.gio;
24public  import gi.giotypes;
25private import gio.Cancellable;
26private import glib.ErrorG;
27private import glib.GException;
28private import glib.Source;
29
30
31/**
32 * Interface for socket-like objects with datagram semantics.
33 *
34 * Since: 2.48
35 */
36public interface DatagramBasedIF{
37        /** Get the main Gtk struct */
38        public GDatagramBased* getDatagramBasedStruct();
39
40        /** the main Gtk struct as a void* */
41        protected void* getStruct();
42
43
44        /** */
45        public GIOCondition conditionCheck(GIOCondition condition);
46
47        /** */
48        public bool conditionWait(GIOCondition condition, long timeout, Cancellable cancellable);
49
50        /** */
51        public Source createSource(GIOCondition condition, Cancellable cancellable);
52
53        /** */
54        public int receiveMessages(GInputMessage* messages, uint numMessages, int flags, long timeout, Cancellable cancellable);
55
56        /** */
57        public int sendMessages(GOutputMessage* messages, uint numMessages, int flags, long timeout, Cancellable cancellable);
58}
Note: See TracBrowser for help on using the repository browser.