#include "common.h"
#include <stdio.h>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | MAX(a, b) (((a) >= (b)) ? (a) : (b)) |
returns the maximum of two values (alias for MAX2()). | |
#define | MAX2(a, b) (MAX((a), (b))) |
returns the maximum of two values. | |
#define | MAX3(a, b, c) (MAX2(MAX2((a), (b)), (c))) |
returns the maximum of three values. | |
#define | MAX4(a, b, c, d) (MAX2(MAX3((a), (b), (c)), (d))) |
returns the maximum of four values. | |
#define | MIN(a, b) MIN2(a, b) |
evaluates to the smaller of two comparable objects. | |
#define | MIN2(a, b) (((a) < (b))? (a): (b)) |
evaluates to the smaller of two comparable objects. | |
#define | MIN3(a, b, c) MIN2(a, MIN2(b, c)) |
evaluates to the smallest of three comparable objects. | |
#define | MIN4(a, b, c, d) MIN2(a, MIN3(b, c, d)) |
evaluates to the smallest of four comparable objects. | |
Functions | |
int | getNextValue (int *beg, int *end, unsigned int from, const char *str) |
Returns the next key seperatet by space chars of the passed str beginning at "from". More... | |
char * | getLine (FILE *file) |
Returns a single line from FILE* file. More... |
Definition in file misc.h.
|
Returns a single line from FILE* file.
') and returns it (a char* to it).
Referenced by mimeInit(), and readConfigFile().
|
|
Returns the next key seperatet by space chars of the passed str beginning at "from".
Referenced by htMthdParse(), and mimeInit().
|