~ubuntu-branches/ubuntu/precise/sitecopy/precise

« back to all changes in this revision

Viewing changes to lib/neon/ne_redirect.h

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2008-07-22 07:31:05 UTC
  • mfrom: (1.1.4 upstream) (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722073105-cbqs1hnc2wvqejfd
Tags: 1:0.16.6-1
* New upstream release
  - fix a crash with progress bar enabled; Closes: #486378
* debian/control
  - set myself as maintainer, Kartik as uploader
  - set Vcs-{Browser,Git} fields
  - bump Standards-Version to 3.8.0
    + debian/README.source added
  - added DM-Upload-Allowed flag
* debian/patches/05_libneon27_transition.dpatch
  - removed since merged upstream
* debian/copyrightdebian/copyright
  - updated upstream email and copyright years
* debian/patches/10_bts410703_preserve_storage_files_sigint.dpatch
  - added to preserve storage files if SIGINT (Ctrl+C) is sent to sitecopy;
    thanks to Andreas Henriksson for the patch; Closes: #410703

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
NE_BEGIN_DECLS
28
28
 
29
 
/* Register redirect handling: if a redirection response is given, the
30
 
 * request will fail with the NE_REDIRECT code, and the destinsation
31
 
 * of the redirect can be retrieved using ne_redirect_location(). */
 
29
/* Register redirect handling for the session: if a valid redirect
 
30
 * (30x) response is given for any request in this session, the
 
31
 * request will fail with the NE_REDIRECT code, and the destination of
 
32
 * the redirect can be retrieved using ne_redirect_location(). */
32
33
void ne_redirect_register(ne_session *sess);
33
34
 
34
 
/* Returns location of last redirect.  Will return NULL if no redirect
35
 
 * has been encountered for given session, or the last redirect
36
 
 * encountered could not be parsed. */
 
35
/* Returns location of last redirect for the session.  Returns NULL if
 
36
 * no redirect has been encountered for given session, or the last
 
37
 * redirect encountered could not be parsed. */
37
38
const ne_uri *ne_redirect_location(ne_session *sess);
38
39
 
39
40
NE_END_DECLS