summaryrefslogtreecommitdiff
path: root/include/rpc
AgeCommit message (Collapse)Author
2017-03-20remove RPC implementationWaldemar Brodkorb
The included RPC implementation is ipv4 only. Other C library projects have either deprecated the internal RPC implementation (GNU C Library) or never implemented such functionality (musl C Library). The latest rpcbind release (0.2.4) checks for libtirpc and does not allow to be build with uClibc-ng RPC without patching. The common use case for RPC nowadays is to use rpcbind together with nfs-utils to provide NFS server or client support to a system. The included RPC implementation does create issues with duplicate symbol failures when statically compiling with RPC enabled.
2012-11-18drop support for pre ISO-C compilersMike Frysinger
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-15rpc: constify some more dataPeter S. Mazinger
Comments in header were used by vda on a similar commit Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15xdr_intXX_t.c,xdr.h: add xdr_quad_t and xdr_u_quad_tPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15libintl.h: add _(x) and N_(x) and use it everywherePeter S. Mazinger
remove _LIBC part from rpc headers include libintl.h to rpc_private.h and use that instead of rpc.h include libintl.h anywhere else needed replacing _(x) and N_(x) Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15remove __FORCE_GLIBCPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15rpc_msg.h: move xdr_accepted_reply and xdr_received_reply from rpc.hPeter S. Mazinger
glibc does not provide these prototypes libtirpc provides them in rpc_msg.h, copied comments from there Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15remove unneeded hiddens for rtime, basename, strtof* and wcstof*Peter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-08libc: Fix typo in include/rpcCarmelo Amoroso
s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/ Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-11-19sync some headers and disable unused prototypesPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-07-21s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko
Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2008-12-29- whitespace cleanup; no obj-code changesBernhard Reutner-Fischer
2008-12-01rpc: constify data, localize unnecessarily static dataDenis Vlasenko
text+data text+rodata rwdata bss filename - 2308 2284 24 24 libc/inet/rpc/clnt_unix.o + 2308 2308 0 0 libc/inet/rpc/clnt_unix.o
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-04-12Functions should be either exported in public .h filesDenis Vlasenko
and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
2006-03-19Guard the reentrant prototypes w/ appropiate config optionPeter S. Mazinger
2006-01-23Remove unneeded _GNU_SOURCEPeter S. Mazinger
2006-01-23sync with glibcMike Frysinger
2005-11-04Sync up w/ glibcPeter S. Mazinger
2005-05-02Replace IXDR_GET_LONG/IXDR_PUT_LONG so that they build with newer gcc. Note ↵Manuel Novoa III
the comment in the code.
2004-02-18Alexandre Oliva writes:Eric Andersen
While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment.
2002-06-17Update rpc headers. Add missing some headersEric Andersen
-Erik
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-01-15Makeheader files be more like GNUEric Andersen
2000-08-03Make some of the rpc stuff compileEric Andersen
-Erik
2000-07-06Some more major updates to further superate ucLibc from the kernelEric Andersen
headers (the way it has been done in GNU libc). -Erik
2000-05-15Finished porting stuff to x86 and supporting the Linux 2.2 kernels.Erik Andersen
It now compiles.... -Erik
2000-05-14Some makefile updates to make it behave a bit better/consistently.Erik Andersen
-Erik
2000-05-14Initial revisionErik Andersen