File: def-proc.h

package info (click to toggle)
htp 1.19-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,272 kB
  • sloc: ansic: 6,645; perl: 204; makefile: 60
file content (34 lines) | stat: -rw-r--r-- 995 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
//
// def-proc.h
//
// specialized markup processors
//
// Copyright (c) 1995-96 Jim Nelson.  Permission to distribute
// granted by the author.  No warranties are made on the fitness of this
// source code.
//
*/

#ifndef DEF_PROC_H
#define DEF_PROC_H

#include "defs.h"

/* Reads in a block and puts it into a temporary file.  The name of
 * the temporary file is put into newFilename, which must be able to hold
 * MAX_PATHNAME_LEN characters.
 */
void BlockDestructor(const char *name, void *value, 
                     uint type, uint flags, void *param);
BOOL ReadBlockToFile(TASK *task, BOOL expand, 
                     const char *tag, STREAM *blockStream);
BOOL ReadinBlock(TASK *task, HTML_MARKUP *htmlMarkup, STREAM *blockStream);

uint BlockProcessor(TASK *task, HTML_MARKUP *htmlMarkup, char **newPlaintext);

uint UndefProcessor(TASK *task, HTML_MARKUP *htmlMarkup, char **newPlaintext);


#endif