taskrambler  0.1.8
Web server and task management solution.
commons.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Bool   char
 
#define TRUE   1
 
#define FALSE   0
 
#define MAX(a, b)   ((a)>(b)? (a) : (b))
 
#define MIN(a, b)   ((a)<(b)? (a) : (b))
 
#define SWAP_FUN(a, b)   ((a)^=(b),(b)^=(a),(a)^=(b))
 
#define SWAP(type, a, b)
 

Detailed Description

Author
Georg Hopp

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file commons.h.

Macro Definition Documentation

#define Bool   char

Definition at line 26 of file commons.h.

Referenced by CLASS().

#define MAX (   a,
 
)    ((a)>(b)? (a) : (b))

Definition at line 31 of file commons.h.

#define MIN (   a,
 
)    ((a)<(b)? (a) : (b))

Definition at line 35 of file commons.h.

Referenced by httpParserBody(), httpWriterWrite(), and routerRoute().

#define SWAP (   type,
  a,
 
)
Value:
do { \
type tmp = (a); \
(a) = (b); \
(b) = tmp; \
} while(0);

Definition at line 40 of file commons.h.

Referenced by httpCookieHandleDouble().

#define SWAP_FUN (   a,
 
)    ((a)^=(b),(b)^=(a),(a)^=(b))

Definition at line 38 of file commons.h.