• Dan Winship's avatar
    Add gnetworking.h · b377e696
    Dan Winship authored
    Install a public "gnetworking.h" header that can be used to include
    the relevant OS-dependent networking headers. This does not really
    abstract away unix-vs-windows however; error codes, in particular,
    are incompatible.
    
    gnetworkingprivate.h now contains just a few internal URI-related
    functions
    
    Also add a g_networking_init() function to gnetworking.h, which can be
    used to explicitly initialize OS-level networking, rather than having
    that happen as a side-effect of registering GInetAddress.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=623187
    b377e696
gnetworking.c 2.56 KB