"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.05.0-linux-x86_64/include/freebasic/xcb/xcb_windefs.bi" (31 Jan 2016, 1831 Bytes) of package /linux/privat/FreeBASIC-1.05.0-linux-x86_64.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 '' FreeBASIC binding for libxcb-1.11, xcb-proto-1.11
    2 ''
    3 '' based on the C header files:
    4 ''   Copyright (C) 2009 Jatin Golani.
    5 ''
    6 ''   Permission is hereby granted, free of charge, to any person obtaining a
    7 ''   copy of this software and associated documentation files (the "Software"),
    8 ''   to deal in the Software without restriction, including without limitation
    9 ''   the rights to use, copy, modify, merge, publish, distribute, sublicense,
   10 ''   and/or sell copies of the Software, and to permit persons to whom the
   11 ''   Software is furnished to do so, subject to the following conditions:
   12 ''
   13 ''   The above copyright notice and this permission notice shall be included in
   14 ''   all copies or substantial portions of the Software.
   15 ''
   16 ''   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   17 ''   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   18 ''   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   19 ''   AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
   20 ''   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   21 ''   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   22 ''
   23 ''   Except as contained in this notice, the names of the authors or their
   24 ''   institutions shall not be used in advertising or otherwise to promote the
   25 ''   sale, use or other dealings in this Software without prior written
   26 ''   authorization from the authors.
   27 ''
   28 '' translated to FreeBASIC by:
   29 ''   Copyright © 2015 FreeBASIC development team
   30 
   31 #pragma once
   32 
   33 #ifdef __FB_WIN32__
   34     const WINVER = &h0501
   35     #include once "win/winsock2.bi"
   36     #include once "win/ws2tcpip.bi"
   37     #include once "win/windef.bi"
   38 
   39     #define _XCB_WINDEFS_H
   40 
   41     type iovec
   42         iov_base as any ptr
   43         iov_len as long
   44     end type
   45 
   46     type in_addr_t as ulong
   47 #endif