c-types 1.0.0

Re-exports of cross-platform types, gathered from libc and winapi

Crate c_types [] [src]

A crate that re-exports various types defined in both libc and winapi.

Stop having to write code like this:

#[cfg(unix)]
use libc::some_type;

#[cfg(windows)]
use winapi::some_type;

Instead, write code like this:

use c_types::some_type;

Constants

AF_INET
AF_INET6

Type Definitions

fd_set
hostent
in6_addr
in_addr
sa_family_t
sockaddr
sockaddr_in
sockaddr_in6
socklen_t