Commit Graph

136 Commits

Author SHA1 Message Date
Panu Matilainen 1a0a12cf15 Remove bogus const from rpmGenPath() temporary targets 2007-12-15 11:03:46 +02:00
Panu Matilainen 4c91a3b6ad More misc size_t issues 2007-12-14 10:30:46 +02:00
Panu Matilainen 9ce13e09ef Switch to <rpm/foo.h> style for public headers
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen dbdbe8010c Eliminate debug junk from the API
- add some helper macros to accomplish the same, easy to enable / disable
  as needed
2007-12-04 11:25:46 +02:00
Panu Matilainen 9cbf0349b8 Use regular POSIX functions instead of "RPC" clones
- we only care about local files
2007-12-03 16:33:18 +02:00
Panu Matilainen 7fc7ac2161 Lose url callback mechanism
- not used and cant support it with external helper anyhow
2007-12-01 09:38:33 +02:00
Ralf Corsépius 96e7f513cd Eliminate type "byte" 2007-11-26 10:42:39 +01:00
Ralf Corsépius 8ef0ca213f Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:41:29 +01:00
Panu Matilainen dae44a0f38 Export FD statistics enums + fdOp() method 2007-11-23 12:00:22 +02:00
Panu Matilainen 2c6905dd9f Move rpmGetPath and rpmGenPath to rpmfileutil.h 2007-11-23 10:20:19 +02:00
Panu Matilainen c1bcd63301 Move rpmioMkpath from rpmio.h to rpmfileutil.h 2007-11-23 09:58:02 +02:00
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Panu Matilainen 17ef8a3082 Lose rpmerr.h for good 2007-11-19 16:32:15 +02:00
Panu Matilainen 43c5de66fb Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels 2007-11-19 16:25:24 +02:00
Panu Matilainen 3357b1fc76 Export rpmio fdGetFILE() 2007-10-29 09:20:59 +02:00
Ralf Corsépius 9735f83012 Include "rpmio_internal.h" instead of <rpmio_internal.h>. 2007-10-28 06:43:19 +01:00
Panu Matilainen 9d9aa852ca Replace all uses of RPMMESS_DEBUG with RPMLOG_DEBUG 2007-10-09 14:48:04 +03:00
Panu Matilainen 4ce9fc1a17 Replace all rpmMessage() uses with rpmlog() 2007-10-09 14:14:30 +03:00
Panu Matilainen d709195c3a Replace all rpmError() uses with rpmlog() 2007-10-09 14:06:06 +03:00
Panu Matilainen adb4ca9ecd Remove timedRead() define 2007-10-09 13:27:47 +03:00
Panu Matilainen 2ad02a60b9 Rename __fd*() to fd*() for consistency now that the names are free 2007-10-09 12:48:04 +03:00
Panu Matilainen 0e8db956e3 Remove unused legacy rpmio fd*() interfaces
- fdFileno(), fdOpen(), fdRead(), fdWrite(), fdClose() gone...
2007-10-09 12:42:27 +03:00
Panu Matilainen 351c1f35f7 Remove unused rpmio fdFdopen() function 2007-10-09 12:28:59 +03:00
Panu Matilainen c961e7a5f8 Remove unused rpmio fdFgets() function 2007-10-09 12:28:08 +03:00
Ralf Corsépius 32c98f766e Fix minor typo. 2007-10-05 07:21:20 +02:00
Ralf Corsépius 4d5be35b6a Add __fdFileno, fdFileno. 2007-10-05 07:11:33 +02:00
Ralf Corsépius 9cf8f9c31a Stop checking for machine/types.h (Private header of some OSes not supposed to be used). 2007-10-04 08:55:07 +02:00
Ralf Corsépius b813710a4c Take out __FILE__, __LINE__ from DBGREFS. 2007-09-22 07:58:56 +02:00
Ralf Corsépius 07e383ce0d Add fdLink, fdFree, fdNew functions. 2007-09-21 17:02:45 +02:00
Ralf Corsépius 868ff87bc0 Add fdClose, fdOpen, fdRead, fdWrite functions. 2007-09-21 16:50:59 +02:00
Ralf Corsépius e152864a76 Eliminate fdClose/__fdClose preprocessor games. 2007-09-21 16:22:23 +02:00
Ralf Corsépius 14a28ee82d Eliminate fdWrite/__fdWrite preprocessor games. 2007-09-21 16:20:52 +02:00
Ralf Corsépius 9b929ba294 Eliminate fdRead/__fdRead preprocessor games. 2007-09-21 16:10:32 +02:00
Ralf Corsépius 9ed70bbbc0 Eliminate fdOpen/__fdOpen preprocessor games. 2007-09-21 16:08:39 +02:00
Ralf Corsépius 97f6e790bb Add another HAVE_ZLIB_H conditional. 2007-09-21 05:59:26 +02:00
Panu Matilainen 154a7f7603 Move _free() into system.h for now
- get rid of dozen _free() definitions
- get _free() out of public headers
2007-09-20 15:37:48 +03:00
Ralf Corsépius 7cd1cf9941 Conditionalize zlib conditional pieces of code on HAVE_ZLIB_H. 2007-09-20 10:37:48 +02:00
Ralf Corsépius 8fa3c5becf Remove splint remnants. 2007-09-20 07:36:41 +02:00
Panu Matilainen 53d8adadd3 Oops, unbreak file opens.. 2007-09-17 11:59:45 +03:00
Panu Matilainen b2517d9967 Remove unneeded socket/inet includes 2007-09-17 10:45:42 +03:00
Panu Matilainen c07bda47cf Remove url/transport items from rpmio file handle structs and uses 2007-09-17 09:48:08 +03:00
Panu Matilainen 94e953382d Remove transport-related items from urlinfo and uses 2007-09-17 09:32:25 +03:00
Panu Matilainen 9f325855d7 Rip out internal http and ftp transports. 2007-09-12 12:23:55 +03:00
Panu Matilainen 65012c4253 Use configurable helper application to deal with urls.
- hijack ufdOpen() operation to call an external helper (if configured)
  to fetch any remote url's, return fd to local temporary file
2007-09-12 11:51:52 +03:00
Panu Matilainen d36716c25c Remove NEON and related hacks 2007-09-12 10:55:55 +03:00
Ralf Corsépius e9f3a5c89d Remove splint tags. 2007-09-11 19:23:32 +02:00
Ralf Corsépius f982bbaa79 Remove splint tags. 2007-09-11 16:48:54 +02:00
Ralf Corsépius bc5bbd543f Remove __LCLINT__-ifdef'ed blocks. 2007-09-03 13:29:05 +02:00
Panu Matilainen cce81e1fa0 rpmioSlurp() related cleanups.
Derived from rpm5.org / Ralf S. Engelschall
2007-07-12 11:55:45 +03:00
Panu Matilainen d52a645802 Fread() and Fwrite() can return negative values, change type to reflect that 2007-07-12 11:06:16 +03:00