pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Regen.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae7b7b9bf7c3
branches:  trunk
changeset: 574655:ae7b7b9bf7c3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 22 14:11:16 2010 +0000

description:
Regen.

diffstat:

 net/libfetch/files/fetch.cat3 |  20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r a039204c7922 -r ae7b7b9bf7c3 net/libfetch/files/fetch.cat3
--- a/net/libfetch/files/fetch.cat3     Thu Apr 22 12:10:50 2010 +0000
+++ b/net/libfetch/files/fetch.cat3     Thu Apr 22 14:11:16 2010 +0000
@@ -8,7 +8,8 @@
      ffeettcchhPPuuttHHTTTTPP, ffeettcchhSSttaattHHTTTTPP, ffeettcchhLLiissttHHTTTTPP, ffeettcchhXXGGeettFFTTPP, ffeettcchhGGeettFFTTPP,
      ffeettcchhPPuuttFFTTPP, ffeettcchhSSttaattFFTTPP, ffeettcchhLLiissttFFTTPP ffeettcchhIInniittUURRLLLLiisstt,
      ffeettcchhFFrreeeeUURRLLLLiisstt, ffeettcchhUUnnqquuootteePPaatthh, ffeettcchhUUnnqquuootteeFFiilleennaammee,
-     ffeettcchhSSttrriinnggiiffyyUURRLL, ffeettcchh -- file transfer functions
+     ffeettcchhSSttrriinnggiiffyyUURRLL, ffeettcchhCCoonnnneeccttiioonnCCaacchheeIInniitt, 
ffeettcchhCCoonnnneeccttiioonnCCaacchheeCClloossee,
+     ffeettcchh -- file transfer functions
 
 LLIIBBRRAARRYY
                File Transfer Library for URLs (libfetch, -lfetch)
@@ -123,6 +124,12 @@
      _c_h_a_r _*
      ffeettcchhSSttrriinnggiiffyyUURRLL(_c_o_n_s_t _s_t_r_u_c_t _u_r_l _*_u);
 
+     _v_o_i_d
+     ffeettcchhCCoonnnneeccttiioonnCCaacchheeIInniitt(_i_n_t _g_l_o_b_a_l, _i_n_t _p_e_r___h_o_s_t);
+
+     _v_o_i_d
+     ffeettcchhCCoonnnneeccttiioonnCCaacchheeCClloossee(_v_o_i_d);
+
 DDEESSCCRRIIPPTTIIOONN
      These functions implement a high-level library for retrieving and upload-
      ing files using Uniform Resource Locators (URLs).
@@ -207,7 +214,7 @@
      };
 
      The list should be initialized by calling ffeettcchhIInniittUURRLLLLiisstt() and the
-     entries be freed by calling ffeettcchhFFrreeeeUURRLLLLiisstt().  The functio
+     entries be freed by calling ffeettcchhFFrreeeeUURRLLLLiisstt().  The function
      ffeettcchhAAppppeennddUURRLLLLiisstt() can be used to append one URL lists to another.  If
      the `c' (cache result) flag is specified, the library is allowed to
      internally cache the result.
@@ -220,6 +227,13 @@
      and ffeettcchhUUnnqquuootteeFFiilleennaammee() return a string that should be deallocated
      with ffrreeee() after use.
 
+     ffeettcchhCCoonnnneeccttiioonnCCaacchheeIInniitt() enables the connection cache.  The first argu-
+     ment specifies the global limit on cached connections.  The second argu-
+     ment specifies the host limit.  Entries are considered to specify the
+     same host, if the host name from the URL is identical, indepent of the
+     address or address family.  ffeettcchhCCoonnnneeccttiioonnCCaacchheeCClloossee() flushed the con-
+     nection cache and closes all cached connections.
+
      ffeettcchhXXGGeett(), ffeettcchhGGeett(), ffeettcchhPPuutt(), and ffeettcchhSSttaatt() are similar to
      ffeettcchhXXGGeettUURRLL(), ffeettcchhGGeettUURRLL(), ffeettcchhPPuuttUURRLL(), and ffeettcchhSSttaattUURRLL(), except
      that they expect a pre-parsed URL in the form of a pointer to a _s_t_r_u_c_t
@@ -509,4 +523,4 @@
 
      Some parts of the code are not fully reentrant.
 
-NetBSD 5.0                     February 4, 2009                     NetBSD 5.0
+NetBSD 5.0                     January 22, 2010                     NetBSD 5.0



Home | Main Index | Thread Index | Old Index