Skip to content

Instantly share code, notes, and snippets.

@cholcombe973
Created September 5, 2018 20:41
Show Gist options
  • Save cholcombe973/ad33ba30be824b9e8a60d1d07d1dd776 to your computer and use it in GitHub Desktop.
Save cholcombe973/ad33ba30be824b9e8a60d1d07d1dd776 to your computer and use it in GitHub Desktop.
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nfs_context {
_unused: [u8; 0],
}
/*
//libnfs.h
#ifndef _LIBNFS_H_
#define _LIBNFS_H_
#include <stdint.h>
#if defined(ANDROID)
#include <sys/time.h>
#endif
#if defined(AROS)
#include <sys/time.h>
#endif
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/time.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define LIBNFS_FEATURE_READAHEAD
#define LIBNFS_FEATURE_DEBUG
#define NFS_BLKSIZE 4096
struct nfs_context;
struct rpc_context;
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment