Commit Graph

  • b426ef0404 read returns a READ3res, not a ACCESS3res Ronnie Sahlberg 2012-01-12 15:19:45 +1100
  • 8724c83390 Add function to get root filehandle from a nfs context Ronnie Sahlberg 2012-01-11 07:04:01 +1100
  • e6cac86f77 Try to rotate the ports we assign when root better so we dont reuse a port htat is in time-wait too frequently Ronnie Sahlberg 2012-01-03 07:25:25 +1100
  • 59f298f5bf Improve an error message to show the errno value Ronnie Sahlberg 2012-01-03 07:18:56 +1100
  • 8e9d7dde75 MOUNT: describe mount version 1 Ronnie Sahlberg 2012-01-01 10:37:54 +1100
  • 1fbe408023 PORTMAPPER: Add set/unset functions Ronnie Sahlberg 2011-12-31 15:01:38 +1100
  • 5c6b1176c2 PMAP: allow to ask for tcp/udp port, dont assume users only ever want the tcp port Ronnie Sahlberg 2011-12-31 14:24:20 +1100
  • 345422a2e3 New version 1.2 Ronnie Sahlberg 2011-12-06 18:02:34 +1100
  • d7ec001f1a Set IFREG from file type, dont assume mode bits contain it Ronnie Sahlberg 2011-12-05 13:54:21 +1100
  • 183451cff5 Remove all [s]size_t / off_t and replace with [u]int64_t making libnfs 64-bit pure Ronnie Sahlberg 2011-11-27 14:49:08 +1100
  • 1ec6b50aef Add MKNOD command support Ronnie Sahlberg 2011-11-27 14:08:24 +1100
  • 86ef491004 New version 1.1 Ronnie Sahlberg 2011-11-27 11:19:18 +1100
  • 71f480591a Make _FILE_OFFSET_BITS=64 always Ronnie Sahlberg 2011-11-27 11:09:09 +1100
  • 14a062eb59 Everytime we use rpc_connect_async() internally, make sure we clear the ->connect_cb so that we dont have a callback function and "private data" being invoked long after the "private data" structure has been free()d. Ronnie Sahlberg 2011-10-09 19:47:07 +1100
  • a3d44462cb Sync API: Once the sync nfs_mount() functions is finished we have to clear rpc->connect_cb. Ronnie Sahlberg 2011-10-09 19:10:18 +1100
  • b990de23c6 Only call the "connect callback" if the callback is set to non-NULL Ronnie Sahlberg 2011-10-09 19:00:24 +1100
  • 8704724f83 Change remaining "struct AUTH *" to "AUTH *" Ronnie Sahlberg 2011-10-09 15:22:05 +1100
  • 7bd7041bd8 Merge pull request #19 from Memphiz/auth2 Ronnie Sahlberg 2011-10-08 16:31:20 -0700
  • fa33813ed4 [fix] - fix improper definition of struct AUTH from osx (caution - API change - not clear if typedef is there on all plattforms...) Memphiz 2011-10-08 18:10:06 +0200
  • acf31bb24d Bump version to 1.0.0 Ronnie Sahlberg 2011-10-04 18:25:05 +1100
  • d678b73e4d Fragment reassembly. Add reassembly of fragmented RPC PDUs Ronnie Sahlberg 2011-10-04 12:31:56 +1100
  • 1744ef9011 Autoreconnect: autoreconnect was completely broken. Reimplement it so that it reconnects properly on session failure. Ronnie Sahlberg 2011-10-04 11:25:10 +1100
  • fb69c64c02 READDIRPLUS emulation: Some embedded servers do not support READDIRPLUS, so try to trap this and emulate it with READDIR + a LOOKUP loop to get the attributes. Since we are fully async we can do all the lookups in concurrently so it should not be that very exopensive compared to the cheaper READDIRPLUS call. Ronnie Sahlberg 2011-10-03 10:55:42 +1100
  • 762621fa3d Donr declate AUTH as a struct in libnfs.h make it include rpc/auth.h properly instead Ronnie Sahlberg 2011-09-19 20:23:45 +1000
  • 46a8a235e8 ignore generate libnfs.pc Mike Frysinger 2011-09-18 11:35:38 +1000
  • 6a14f02fb2 tirpc: use pkg-config to find details Mike Frysinger 2011-09-18 11:35:40 +1000
  • 357f65c0e1 Merge branch 'master' of github.com:sahlberg/libnfs Ronnie Sahlberg 2011-09-19 20:15:47 +1000
  • 5a1f145434 add maintainer e-mail to AC_INIT Mike Frysinger 2011-09-18 11:35:39 +1000
  • 95b7217dc8 Merge pull request #15 from OpenELEC/libnfs-pkgconfig Ronnie Sahlberg 2011-09-16 02:01:11 -0700
  • ea545df912 add support to create a pkgconfig file 'libnfs.pc' on build, and install this with 'make install' Stephan Raue 2011-09-16 08:23:23 +0200
  • 22e73f32dd update README with highly non-portable capability support on some linux kernels Ronnie Sahlberg 2011-09-13 15:17:21 +1000
  • 1e1b70a24a Merge remote branch 'memphiz/win32' Ronnie Sahlberg 2011-09-13 15:10:45 +1000
  • 584108f43e Merge remote branch 'memphiz/listservers' Ronnie Sahlberg 2011-09-13 15:06:21 +1000
  • e078d276f7 [add] - list nfs servers nfsclient-sync unknown 2011-09-12 19:58:23 +0200
  • fcc42bfe85 [win32] - completed win32 port Memphiz 2011-09-12 19:22:00 +0200
  • f650a138b6 [fix] - vs2010 project for libnfs Memphiz 2011-09-12 19:21:02 +0200
  • 20a96d422c [add/change] - win32 wrappers Memphiz 2011-09-12 18:58:28 +0200
  • dba24f1079 [fix] - fixed example - don't exit on read failure during dirent (it could be a directory - non fatal if read fails on that) - fixed sprintf pointer Memphiz 2011-09-12 18:46:57 +0200
  • 87bfff2643 [fix] - fixed example - don't exit on read failure during dirent (it could be a directory - non fatal if read fails on that) - fixed sprintf pointer Memphiz 2011-09-12 18:46:57 +0200
  • 4e9dcb7665 remove debug message Ronnie Sahlberg 2011-09-12 22:20:56 +1000
  • 07fd0cbc65 when creating a socket, spin over a number of low-numbered ports and try to bind to a system port in case the user is root or the binary has the CAP_NET_BIND_SERVICE capability Ronnie Sahlberg 2011-09-12 22:14:26 +1000
  • 18c27b73ff Large-Writes: just like for large-reads, chop large writes up into the smallest of 32kb and what the server responded as the max write size and send them out in parallell to the server. Ronnie Sahlberg 2011-09-11 22:13:28 +1000
  • 83aa785d92 Add a call to find the queue-length so we can see how many I/O we have in flight from the application layer. Ronnie Sahlberg 2011-09-11 21:32:48 +1000
  • 37d14753ce Update win32 readme to point to location for oncrpc library for windows Ronnie Sahlberg 2011-09-03 16:23:44 +1000
  • 4b6737c15c Add Windows as a supported platform Ronnie Sahlberg 2011-09-03 15:40:13 +1000
  • 4b0e8df9a9 [fix] - fix connect for win32 - return values are inverted unknown 2011-09-03 00:58:31 +0200
  • 99c14c9b81 [add] - implement set_non_blocking for socket unknown 2011-09-03 00:27:02 +0200
  • f5a488524d [fix] - fix win32_inet_pton unknown 2011-09-03 00:25:39 +0200
  • 75e8e264d6 [WIN32] added nfsclient-sync to the solution. still manually linked with libnfs because the project dependency setting somehow didn't linked it. WiSo 2011-09-03 00:21:40 +0200
  • 3446e792c1 [WIN32] added project file for nfsclient-sync.exe WiSo 2011-09-03 00:13:28 +0200
  • cb06480162 [WIN32] disable some warnings WiSo 2011-09-02 23:32:38 +0200
  • 52674a70ea [WIN32] added visual studio project files to libnfs (oncrpc path still hardcoded at several places) WiSo 2011-09-02 23:24:47 +0200
  • a8a1b85846 [win32] - make it compile on win32 Memphiz 2011-09-01 21:35:54 +0200
  • 4b1097cde2 remove old libnfs.def and update the buildscript to the new name libnfs-win32.def Ronnie Sahlberg 2011-09-03 14:53:10 +1000
  • 7f7993883c [add] - win32 compat stuff Memphiz 2011-09-01 21:31:56 +0200
  • db4ea5dd80 Revert "Rename libnfs.def to libnfs-win32.def" Ronnie Sahlberg 2011-09-03 14:51:48 +1000
  • ea98629aef memset() is posix, bzero() is not change bzero into memset Ronnie Sahlberg 2011-09-03 14:11:22 +1000
  • a3d6cf111e Rename libnfs.def to libnfs-win32.def Ronnie Sahlberg 2011-09-03 13:28:37 +1000
  • 565369e0b2 remove some includes that dont exist on windows Ronnie Sahlberg 2011-09-03 11:30:10 +1000
  • bb4e9ed6a8 cast to char * to avoid compiler warnings for get/setsockopt Ronnie Sahlberg 2011-09-03 11:25:50 +1000
  • 4ed97718b3 Merge branch 'master' into win32-3 Ronnie Sahlberg 2011-09-03 11:11:36 +1000
  • 42f43e48cc cast the pointer to char * for all calls to bzero Ronnie Sahlberg 2011-09-03 11:08:58 +1000
  • 41d82d7d82 Merge branch 'win32' into win32-3 Ronnie Sahlberg 2011-09-03 10:57:42 +1000
  • 0804e67d7a using READDIRPLUS3 we get some extra fields for the direentry structure for free, such as type, mode, size, timestamps Ronnie Sahlberg 2011-09-02 20:45:30 +1000
  • f390f18157 nfs_opendir() switch to using READDIRPLUS3 instead of READDIR3 when reading directories. Ronnie Sahlberg 2011-09-02 20:27:01 +1000
  • e02614571c nfs.x: some rpcgen's can not handle multiple union choices for the same arm. Make sure each choice has a dedicated arm Ronnie Sahlberg 2011-08-28 19:05:46 +1000
  • 647d2ea11c add support for opensolaris Ronnie Sahlberg 2011-09-01 19:48:42 +1000
  • 5733b1e17e win32 add build script for visual studio Ronnie Sahlberg 2011-08-30 16:03:26 +1000
  • 66ad6d8438 Win32: make the sympols public in a dll Ronnie Sahlberg 2011-08-30 15:56:53 +1000
  • 427d71c0a7 Win32: add a libnfs.def file so we can build libraries/dlls Ronnie Sahlberg 2011-08-30 15:54:29 +1000
  • b85c7de2f7 use vsnprintf() on all platforms, dont special case win32 for vsnprintf and all other platforms use vasprintf Ronnie Sahlberg 2011-08-29 19:59:36 +1000
  • 2606f9bb3d Win32: add workaround for lack of vasprintf() and use vsnprintf() on windows on a fixed size buffer Ronnie Sahlberg 2011-08-29 18:00:09 +1000
  • 0ad9a1f134 WIN32: win32 does not have poll() add trivial replacement function Ronnie Sahlberg 2011-08-28 19:48:01 +1000
  • dd8fc17555 win32 oncrpc environment needx xdr.h before including auth.h Ronnie Sahlberg 2011-08-28 19:46:12 +1000
  • f4442bec27 wondows dont have vasprintf() Ronnie Sahlberg 2011-08-28 19:45:00 +1000
  • 6874f61e24 Win32: more win32 adaptations Ronnie Sahlberg 2011-08-28 19:43:33 +1000
  • fb6510bb68 VC10 dont like ';;' Ronnie Sahlberg 2011-08-28 19:30:10 +1000
  • d8143ff7d7 Win32: the stat structure on win32 does not have blocks or blocksize Ronnie Sahlberg 2011-08-28 19:29:08 +1000
  • 93e9306f80 replace index/rindex with modern equivalents Ronnie Sahlberg 2011-08-28 19:27:23 +1000
  • a671a46510 replace index/rindex with modern equivalents Ronnie Sahlberg 2011-08-28 19:27:23 +1000
  • 9896c7155c nfs_set_auth() is a void and does not return anything Ronnie Sahlberg 2011-08-28 19:25:20 +1000
  • be337389bf nfs_set_auth() is a void and does not return anything Ronnie Sahlberg 2011-08-28 19:25:20 +1000
  • eecdc4f3cd Win32 changes, include files we need when compiling under win32 and some socket ops are slightly different Ronnie Sahlberg 2011-08-28 19:24:18 +1000
  • cd03320955 nfs.x: some rpcgen's can not handle multiple union choices for the same arm. Make sure each choice has a dedicated arm Ronnie Sahlberg 2011-08-28 19:05:46 +1000
  • 11ef53a2e6 callit_cb() : dont return a value from avoid function Ronnie Sahlberg 2011-08-28 18:59:13 +1000
  • b3740e09de callit_cb() : dont return a value from avoid function Ronnie Sahlberg 2011-08-28 18:59:13 +1000
  • 9115b88cb8 bump the configure.ac version to 1.0 Ronnie Sahlberg 2011-08-01 07:32:08 +1000
  • 9f89cfcd15 Add packaging directory and script and specfile to build RPM packages Ronnie Sahlberg 2011-07-31 18:28:09 +1000
  • b84208a613 Dont install slist.h or libnfs-private.h Ronnie Sahlberg 2011-07-31 18:11:52 +1000
  • 963c2f83be Initialize the rootfh handle when creating the nfs context or else we will try to free a wild pointer if the mount failed and we proceed to call nfs_destroy_context(); Ronnie Sahlberg 2011-07-31 10:59:46 +1000
  • b077fdeb65 Add automatic reconnect after TCP session failure for the sync interface. Ronnie Sahlberg 2011-07-31 10:46:34 +1000
  • 48593f566f Merge pull request #11 from Memphiz/master Ronnie Sahlberg 2011-07-20 02:21:02 -0700
  • 4431432424 [fix] - install the raw headers ... Memphiz 2011-07-19 20:11:48 +0200
  • 9f88cb06f5 typo Ronnie Sahlberg 2011-07-18 11:49:21 +1000
  • 51b9335b9c FreeBSD works too Ronnie Sahlberg 2011-07-18 10:45:54 +1000
  • c03a1e82ac Add cygwin to supported/tested platforms Ronnie Sahlberg 2011-07-17 16:45:12 +1000
  • 2b50be4e1c We need the same uint64_t workaround for cygwin as we have for OSX since rpcgen on cygwin can not handle hyper either Ronnie Sahlberg 2011-07-17 16:33:27 +1000
  • fc4bdc2269 Add a flag --enable-tirpc to the configure script Ronnie Sahlberg 2011-07-17 16:32:45 +1000
  • 8c27363e21 since UDP is unreliable, send the CALLIT broadcasts 3 times, one second apart when probing for local NFS servers Ronnie Sahlberg 2011-07-16 17:30:44 +1000
  • e5964ef905 break out the loop for sending a NFSd probe bcast on every interface into a separate function Ronnie Sahlberg 2011-07-16 17:27:12 +1000