View | Details | Raw Unified
Collapse All | Expand All

(-) privoxy-3.0.3/GNUmakefile.in (-2 / +12 lines)
 Lines 1-6    Link Here 
# Note:  Makefile is built automatically from Makefile.in
# Note:  Makefile is built automatically from Makefile.in
#
#
# $Id: GNUmakefile.in,v 1.104.2.25 2004/01/31 01:15:33 oes Exp $
# $Id: GNUmakefile.in,v 1.104.2.27 2004/02/07 16:11:10 oes Exp $
#
#
# Written by and Copyright (C) 2001 - 2004 the SourceForge
# Written by and Copyright (C) 2001 - 2004 the SourceForge
# Privoxy team. http://www.privoxy.org/
# Privoxy team. http://www.privoxy.org/
 Lines 818-824    Link Here 
# (http://www.easysw.com/htmldoc/). Note: 1.8.20 has a TOC bug.
# (http://www.easysw.com/htmldoc/). Note: 1.8.20 has a TOC bug.
# PDF docs are uploaded to webserver as zip archive.
# PDF docs are uploaded to webserver as zip archive.
dok-pdf: dok-shtml
dok-pdf: dok-shtml
	@$(ECHO) -n "starting htmldoc version: "; htmldoc --version
	@$(ECHO) -n "starting htmldoc version: ";
	if htmldoc --version ; then : ; \
	   else $(ECHO) "WARNING: could not get htmldoc version" ; fi
	cd utils/ldp_print && $(RM) *html *bak *jpg *tmp *pdf *zip
	cd utils/ldp_print && $(RM) *html *bak *jpg *tmp *pdf *zip
	cp -f doc/source/temp/*html doc/webserver/images/*jpg utils/ldp_print
	cp -f doc/source/temp/*html doc/webserver/images/*jpg utils/ldp_print
	cd utils/ldp_print ;\
	cd utils/ldp_print ;\
 Lines 1019-1024    Link Here 
clobber: tidy
clobber: tidy
	$(RM) GNUmakefile configure config.h.in config.h config.cache config.status config.log logfile \
	$(RM) GNUmakefile configure config.h.in config.h config.cache config.status config.log logfile \
              privoxy.log core *.tar.gz *.tar privoxy-cl.spec doc/source/ldp.dsl
              privoxy.log core *.tar.gz *.tar privoxy-cl.spec doc/source/ldp.dsl
	$(RM) -r autom4te.cache
#
#
# FIXME: What is all this? 
# FIXME: What is all this? 
 Lines 1341-1346    Link Here 
## end:
## end:
# $Log: GNUmakefile.in,v $
# $Log: GNUmakefile.in,v $
# Revision 1.104.2.27  2004/02/07 16:11:10  oes
# Make clobber remove the autom4te.cache dir.
# Closes BR #889300
#
# Revision 1.104.2.26  2004/01/31 16:32:25  oes
# Adding a check for an htmldoc variant from the debian diff
#
# Revision 1.104.2.25  2004/01/31 01:15:33  oes
# Revision 1.104.2.25  2004/01/31 01:15:33  oes
# Fixed a typo; updated copyright notice
# Fixed a typo; updated copyright notice
#
#
(-) privoxy-3.0.3/cgi.c (-1 / +43 lines)
 Lines 1-4    Link Here 
const char cgi_rcs[] = "$Id: cgi.c,v 1.70.2.12 2003/12/17 16:33:16 oes Exp $";
const char cgi_rcs[] = "$Id: cgi.c,v 1.70.2.13 2004/02/17 13:30:23 oes Exp $";
/*********************************************************************
/*********************************************************************
 *
 *
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgi.c,v $
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgi.c,v $
 Lines 38-43    Link Here 
 *
 *
 * Revisions   :
 * Revisions   :
 *    $Log: cgi.c,v $
 *    $Log: cgi.c,v $
 *    Revision 1.70.2.13  2004/02/17 13:30:23  oes
 *    Moved cgi_error_disabled() from cgiedit.c to
 *    cgi.c to re-enable build with --disable-editor.
 *    Fixes Bug #892744. Thanks to Matthew Fischer
 *    for spotting.
 *
 *    Revision 1.70.2.12  2003/12/17 16:33:16  oes
 *    Revision 1.70.2.12  2003/12/17 16:33:16  oes
 *     - Added new function cgi_redirect to handle creation of
 *     - Added new function cgi_redirect to handle creation of
 *       HTTP redirect messages formerly repeated in the code.
 *       HTTP redirect messages formerly repeated in the code.
 Lines 1244-1249    Link Here 
/*********************************************************************
/*********************************************************************
 *
 *
 * Function    :  cgi_error_disabled
 *
 * Description :  CGI function that is called to generate an error
 *                response if the actions editor or toggle CGI are
 *                accessed despite having being disabled at compile-
 *                or run-time.
 *
 * Parameters  :
 *          1  :  csp = Current client state (buffers, headers, etc...)
 *          2  :  rsp = http_response data structure for output
 *
 * CGI Parameters : none
 *
 * Returns     :  JB_ERR_OK on success
 *                JB_ERR_MEMORY on out-of-memory error.
 *
 *********************************************************************/
jb_err cgi_error_disabled(struct client_state *csp,
                          struct http_response *rsp)
{
   struct map *exports;
   assert(csp);
   assert(rsp);
   if (NULL == (exports = default_exports(csp, NULL)))
   {
      return JB_ERR_MEMORY;
   }
   return template_fill_for_cgi(csp, "cgi-error-disabled", exports, rsp);
}
/*********************************************************************
 *
 * Function    :  cgi_init_error_messages
 * Function    :  cgi_init_error_messages
 *
 *
 * Description :  Call at the start of the program to initialize
 * Description :  Call at the start of the program to initialize
(-) privoxy-3.0.3/cgi.h (-2 / +10 lines)
 Lines 1-6    Link Here 
#ifndef CGI_H_INCLUDED
#ifndef CGI_H_INCLUDED
#define CGI_H_INCLUDED
#define CGI_H_INCLUDED
#define CGI_H_VERSION "$Id: cgi.h,v 1.29.2.1 2003/12/17 16:33:28 oes Exp $"
#define CGI_H_VERSION "$Id: cgi.h,v 1.29.2.2 2004/02/17 13:30:23 oes Exp $"
/*********************************************************************
/*********************************************************************
 *
 *
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgi.h,v $
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgi.h,v $
 Lines 38-43    Link Here 
 *
 *
 * Revisions   :
 * Revisions   :
 *    $Log: cgi.h,v $
 *    $Log: cgi.h,v $
 *    Revision 1.29.2.2  2004/02/17 13:30:23  oes
 *    Moved cgi_error_disabled() from cgiedit.c to
 *    cgi.c to re-enable build with --disable-editor.
 *    Fixes Bug #892744. Thanks to Matthew Fischer
 *    for spotting.
 *
 *    Revision 1.29.2.1  2003/12/17 16:33:28  oes
 *    Revision 1.29.2.1  2003/12/17 16:33:28  oes
 *    Added prototype of new function cgi_redirect
 *    Added prototype of new function cgi_redirect
 *
 *
 Lines 215-221    Link Here 
                                    const char *template_name);
                                    const char *template_name);
extern jb_err cgi_error_bad_param(struct client_state *csp,
extern jb_err cgi_error_bad_param(struct client_state *csp,
                                  struct http_response *rsp);
                                  struct http_response *rsp);
jb_err cgi_error_unknown(struct client_state *csp,
extern jb_err cgi_error_disabled(struct client_state *csp,
                                 struct http_response *rsp);
extern jb_err cgi_error_unknown(struct client_state *csp,
                         struct http_response *rsp,
                         struct http_response *rsp,
                         jb_err error_to_report);
                         jb_err error_to_report);
(-) privoxy-3.0.3/cgiedit.c (-37 / +7 lines)
 Lines 1-4    Link Here 
const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.41.2.6 2003/12/18 08:13:48 oes Exp $";
const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.41.2.7 2004/02/17 13:30:23 oes Exp $";
/*********************************************************************
/*********************************************************************
 *
 *
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgiedit.c,v $
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgiedit.c,v $
 Lines 42-47    Link Here 
 *
 *
 * Revisions   :
 * Revisions   :
 *    $Log: cgiedit.c,v $
 *    $Log: cgiedit.c,v $
 *    Revision 1.41.2.7  2004/02/17 13:30:23  oes
 *    Moved cgi_error_disabled() from cgiedit.c to
 *    cgi.c to re-enable build with --disable-editor.
 *    Fixes Bug #892744. Thanks to Matthew Fischer
 *    for spotting.
 *
 *    Revision 1.41.2.6  2003/12/18 08:13:48  oes
 *    Revision 1.41.2.6  2003/12/18 08:13:48  oes
 *    One line lost in last commit
 *    One line lost in last commit
 *
 *
 Lines 469-476    Link Here 
jb_err cgi_error_file_read_only(struct client_state *csp,
jb_err cgi_error_file_read_only(struct client_state *csp,
                                struct http_response *rsp,
                                struct http_response *rsp,
                                const char *filename);
                                const char *filename);
jb_err cgi_error_disabled(struct client_state *csp,
                          struct http_response *rsp);
/* Internal arbitrary config file support functions */
/* Internal arbitrary config file support functions */
static jb_err edit_read_file_lines(FILE *fp, struct file_line ** pfile, int *newline);
static jb_err edit_read_file_lines(FILE *fp, struct file_line ** pfile, int *newline);
 Lines 2408-2447    Link Here 
/*********************************************************************
/*********************************************************************
 *
 *
 * Function    :  cgi_error_disabled
 *
 * Description :  CGI function that is called if the actions editor
 *                is called although it's disabled in config
 *
 * Parameters  :
 *          1  :  csp = Current client state (buffers, headers, etc...)
 *          2  :  rsp = http_response data structure for output
 *
 * CGI Parameters : none
 *
 * Returns     :  JB_ERR_OK on success
 *                JB_ERR_MEMORY on out-of-memory error.
 *
 *********************************************************************/
jb_err cgi_error_disabled(struct client_state *csp,
                          struct http_response *rsp)
{
   struct map *exports;
   assert(csp);
   assert(rsp);
   if (NULL == (exports = default_exports(csp, NULL)))
   {
      return JB_ERR_MEMORY;
   }
   return template_fill_for_cgi(csp, "cgi-error-disabled", exports, rsp);
}
/*********************************************************************
 *
 * Function    :  cgi_edit_actions
 * Function    :  cgi_edit_actions
 *
 *
 * Description :  CGI function that allows the user to choose which
 * Description :  CGI function that allows the user to choose which
(-) privoxy-3.0.3/cgiedit.h (-3 / +7 lines)
 Lines 1-6    Link Here 
#ifndef CGIEDIT_H_INCLUDED
#ifndef CGIEDIT_H_INCLUDED
#define CGIEDIT_H_INCLUDED
#define CGIEDIT_H_INCLUDED
#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.7.2.1 2002/11/28 18:15:17 oes Exp $"
#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.7.2.2 2004/02/17 13:30:23 oes Exp $"
/*********************************************************************
/*********************************************************************
 *
 *
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgiedit.h,v $
 * File        :  $Source: /cvsroot/ijbswa/current/Attic/cgiedit.h,v $
 Lines 37-42    Link Here 
 *
 *
 * Revisions   :
 * Revisions   :
 *    $Log: cgiedit.h,v $
 *    $Log: cgiedit.h,v $
 *    Revision 1.7.2.2  2004/02/17 13:30:23  oes
 *    Moved cgi_error_disabled() from cgiedit.c to
 *    cgi.c to re-enable build with --disable-editor.
 *    Fixes Bug #892744. Thanks to Matthew Fischer
 *    for spotting.
 *
 *    Revision 1.7.2.1  2002/11/28 18:15:17  oes
 *    Revision 1.7.2.1  2002/11/28 18:15:17  oes
 *    Added cgi_error_disabled
 *    Added cgi_error_disabled
 *
 *
 Lines 140-147    Link Here 
extern jb_err cgi_toggle        (struct client_state *csp,
extern jb_err cgi_toggle        (struct client_state *csp,
                                 struct http_response *rsp,
                                 struct http_response *rsp,
                                 const struct map *parameters);
                                 const struct map *parameters);
extern jb_err cgi_error_disabled(struct client_state *csp,
                                 struct http_response *rsp);
#endif /* def FEATURE_CGI_EDIT_ACTIONS */
#endif /* def FEATURE_CGI_EDIT_ACTIONS */