- ipaccess: support IPv6
- lfs-test: generalize or kill
- transactions: Unit tests
+- libucw.pc: do not use -l if shared
+- compile cstocs
+- retros.c: sherlock.h
+- remove excess inlines
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/unicode.h"
-#include "ucw/unaligned.h"
-#include "charset/charconv.h"
-#include "charset/chartable.h"
+#include <ucw/lib.h>
+#include <ucw/unicode.h>
+#include <ucw/unaligned.h>
+#include <charset/charconv.h>
+#include <charset/chartable.h>
void
conv_init(struct conv_context *c)
{
#define CONV_READ_STD
#define CONV_WRITE_UTF8
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF8
#define CONV_WRITE_STD
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_STD
#define CONV_WRITE_UTF16_BE
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF16_BE
#define CONV_WRITE_STD
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_STD
#define CONV_WRITE_UTF16_LE
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF16_LE
#define CONV_WRITE_STD
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF8
#define CONV_WRITE_UTF16_BE
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF16_BE
#define CONV_WRITE_UTF8
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF8
#define CONV_WRITE_UTF16_LE
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF16_LE
#define CONV_WRITE_UTF8
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
{
#define CONV_READ_UTF16_BE
#define CONV_WRITE_UTF16_LE
-#include "charset/charconv-gen.h"
+#include <charset/charconv-gen.h>
}
static int
*/
#include "sherlock/sherlock.h"
-#include "charset/charconv.h"
+#include <charset/charconv.h>
#include <stdlib.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "charset/charconv.h"
-#include "charset/fb-charconv.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <charset/charconv.h>
+#include <charset/fb-charconv.h>
#define BUFSIZE 1024
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/mp-charconv.h"
+#include <ucw/lib.h>
+#include <charset/mp-charconv.h>
#include <string.h>
#include <alloca.h>
#ifndef _CHARSET_MP_CHARCONV_H
#define _CHARSET_MP_CHARCONV_H
-#include "ucw/mempool.h"
-#include "charset/charconv.h"
+#include <ucw/mempool.h>
+#include <charset/charconv.h>
byte *mp_strconv(struct mempool *mp, const byte *s, uns cs_in, uns cs_out);
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/charconv.h"
+#include <ucw/lib.h>
+#include <charset/charconv.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/stk-charconv.h"
+#include <ucw/lib.h>
+#include <charset/stk-charconv.h>
#include <string.h>
#define INITIAL_MIN_SIZE 16
#ifndef _CHARSET_STK_CHARCONV_H
#define _CHARSET_STK_CHARCONV_H
-#include "charset/charconv.h"
+#include <charset/charconv.h>
#include <alloca.h>
/* The following macros convert strings between given charsets (CONV_CHARSET_x). */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/unicat.h"
-#include "charset/U-cat.h"
+#include <ucw/lib.h>
+#include <charset/unicat.h>
+#include <charset/U-cat.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/unicat.h"
-#include "charset/U-ligatures.h"
+#include <ucw/lib.h>
+#include <charset/unicat.h>
+#include <charset/U-ligatures.h>
const u16 *
Uexpand_lig(uns x)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/unicat.h"
-#include "charset/U-lower.h"
+#include <ucw/lib.h>
+#include <charset/unicat.h>
+#include <charset/U-lower.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/unicat.h"
-#include "charset/U-upper.h"
+#include <ucw/lib.h>
+#include <charset/unicat.h>
+#include <charset/U-upper.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "charset/unicat.h"
-#include "charset/U-unacc.h"
+#include <ucw/lib.h>
+#include <charset/unicat.h>
+#include <charset/U-unacc.h>
-#include "ucw/lib.h"
+#include <ucw/lib.h>
int main(void)
{
-#include "ucw/lib.h"
+#include <ucw/lib.h>
int main(void)
{
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "images/images.h"
-#include "images/color.h"
+#include <ucw/lib.h>
+#include <images/images.h>
+#include <images/color.h>
#include <getopt.h>
#include <stdlib.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "images/images.h"
-#include "images/color.h"
-#include "images/error.h"
-#include "images/math.h"
+#include <ucw/lib.h>
+#include <images/images.h>
+#include <images/color.h>
+#include <images/error.h>
+#include <images/math.h>
#include <string.h>
#include <math.h>
#define IMAGE_WALK_SEC_COL_STEP 1
#define IMAGE_WALK_UNROLL 4
#define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_pos[1] = walk_pos[2] = walk_sec_pos[0]; }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
#define IMAGE_WALK_PREFIX(x) walk_##x
#define IMAGE_WALK_FUNC_NAME image_conv_rgb_n_to_gray_1
#define IMAGE_WALK_COL_STEP 1
#define IMAGE_WALK_UNROLL 2
#define IMAGE_WALK_DO_STEP do{ walk_pos[0] = rgb_to_gray_func(walk_sec_pos[0], walk_sec_pos[1], walk_sec_pos[2]); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* Grayscale <-> YCbCr */
#define IMAGE_WALK_SEC_COL_STEP 1
#define IMAGE_WALK_UNROLL 4
#define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; walk_pos[1] = walk_pos[2] = 0; }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
#define IMAGE_WALK_PREFIX(x) walk_##x
#define IMAGE_WALK_FUNC_NAME image_conv_ycbcr_n_to_gray_1
#define IMAGE_WALK_COL_STEP 1
#define IMAGE_WALK_UNROLL 4
#define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* YCbCr <-> RGB */
#define IMAGE_WALK_FUNC_NAME image_conv_ycbcr_n_to_rgb_n
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_DO_STEP do{ pixel_conv_ycbcr_to_rgb(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
static inline void
pixel_conv_rgb_to_ycbcr(byte *dest, byte *src)
#define IMAGE_WALK_FUNC_NAME image_conv_rgb_n_to_ycbcr_n
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_DO_STEP do{ pixel_conv_rgb_to_ycbcr(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* CMYK <-> RGB */
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_SEC_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_cmyk_to_rgb(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
static inline void
pixel_conv_rgb_to_cmyk(byte *dest, byte *src)
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_rgb_to_cmyk(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* CMYK <-> YCbCr */
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_SEC_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_cmyk_to_rgb(walk_pos, walk_sec_pos); pixel_conv_rgb_to_ycbcr(walk_pos, walk_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
#define IMAGE_WALK_PREFIX(x) walk_##x
#define IMAGE_WALK_FUNC_NAME image_conv_ycbcr_n_to_cmyk_4
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_ycbcr_to_rgb(walk_pos, walk_sec_pos); pixel_conv_rgb_to_cmyk(walk_pos, walk_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* YCCK <-> RGB */
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_SEC_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_ycck_to_rgb(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
static inline void
pixel_conv_rgb_to_ycck(byte *dest, byte *src)
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_rgb_to_ycck(walk_pos, walk_sec_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* YCCK <-> YCbCr */
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_SEC_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_ycck_to_rgb(walk_pos, walk_sec_pos); pixel_conv_rgb_to_ycbcr(walk_pos, walk_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
#define IMAGE_WALK_PREFIX(x) walk_##x
#define IMAGE_WALK_FUNC_NAME image_conv_ycbcr_n_to_ycck_4
#define IMAGE_WALK_DOUBLE
#define IMAGE_WALK_COL_STEP 4
#define IMAGE_WALK_DO_STEP do{ pixel_conv_ycbcr_to_rgb(walk_pos, walk_sec_pos); pixel_conv_rgb_to_ycck(walk_pos, walk_pos); }while(0)
-#include "images/image-walk.h"
+#include <images/image-walk.h>
/* Main functions */
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return;
case 2:
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; walk_pos[1] = walk_sec_pos[1]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
case 3:
# define IMAGE_WALK_PREFIX(x) walk_##x
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_UNROLL 2
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; walk_pos[1] = walk_sec_pos[1]; walk_pos[2] = walk_sec_pos[2]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
case 4:
# define IMAGE_WALK_PREFIX(x) walk_##x
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_UNROLL 2
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; walk_pos[1] = walk_sec_pos[1]; walk_pos[2] = walk_sec_pos[2]; walk_pos[3] = walk_sec_pos[3]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
default:
# define IMAGE_WALK_PREFIX(x) walk_##x
# define IMAGE_WALK_IMAGE dest
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_DO_STEP do{ for (uns i = 0; i < channels; i++) walk_pos[i] = walk_sec_pos[i]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
}
}
# define IMAGE_WALK_COL_STEP 2
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[1] = 255; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
}
break;
# define IMAGE_WALK_COL_STEP 4
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[3] = 255; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
return;
}
break;
# define IMAGE_WALK_IMAGE dest
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[dest->channels - 1] = 255; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
}
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_UNROLL 4
# define IMAGE_WALK_DO_STEP do{ walk_pos[dest->channels - 1] = walk_sec_pos[src->channels - 1]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
}
# define IMAGE_WALK_UNROLL 2
# define IMAGE_WALK_DO_STEP do{ \
walk_pos[0] = image_conv_alpha_func(walk_pos[0], walk_sec_pos[src->channels - 1], a[0], b[0]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
case 3:
walk_pos[0] = image_conv_alpha_func(walk_pos[0], walk_sec_pos[src->channels - 1], a[0], b[0]); \
walk_pos[1] = image_conv_alpha_func(walk_pos[1], walk_sec_pos[src->channels - 1], a[1], b[1]); \
walk_pos[2] = image_conv_alpha_func(walk_pos[2], walk_sec_pos[src->channels - 1], a[2], b[2]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
}
# define IMAGE_WALK_DOUBLE
# define IMAGE_WALK_DO_STEP do{ for (uns i = 0; i < dest->channels; i++) \
walk_pos[i] = image_conv_alpha_func(walk_pos[i], walk_sec_pos[src->channels - 1], a[i], b[i]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
}
# define IMAGE_WALK_UNROLL 2
# define IMAGE_WALK_DO_STEP do{ \
walk_pos[0] = image_conv_alpha_func(walk_sec_pos[0], walk_sec_pos[src->channels - 1], a[0], b[0]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
case 3:
walk_pos[0] = image_conv_alpha_func(walk_sec_pos[0], walk_sec_pos[src->channels - 1], a[0], b[0]); \
walk_pos[1] = image_conv_alpha_func(walk_sec_pos[1], walk_sec_pos[src->channels - 1], a[1], b[1]); \
walk_pos[2] = image_conv_alpha_func(walk_sec_pos[2], walk_sec_pos[src->channels - 1], a[2], b[2]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
}
# define IMAGE_WALK_DOUBLE
# define IMAGE_WALK_DO_STEP do{ for (uns i = 0; i < dest->channels; i++) \
walk_pos[i] = image_conv_alpha_func(walk_sec_pos[i], walk_sec_pos[src->channels - 1], a[i], b[i]); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
return 1;
}
#ifndef _IMAGES_COLOR_H
#define _IMAGES_COLOR_H
-#include "images/images.h"
+#include <images/images.h>
/* Basic color spaces */
enum {
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "images/images.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <images/images.h>
#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP)
-#include "images/signature.h"
+#include <images/signature.h>
#endif
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/bbuf.h"
-#include "images/images.h"
-#include "images/error.h"
+#include <ucw/lib.h>
+#include <ucw/bbuf.h>
+#include <images/images.h>
+#include <images/error.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/duplicates.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/duplicates.h>
#include <fcntl.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/color.h"
-#include "images/duplicates.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/color.h>
+#include <images/duplicates.h>
#include <fcntl.h>
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
-#include "ucw/mempool.h"
-#include "images/images.h"
-#include "images/color.h"
-#include "images/duplicates.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
+#include <ucw/mempool.h>
+#include <images/images.h>
+#include <images/color.h>
+#include <images/duplicates.h>
#include <stdlib.h>
#include <fcntl.h>
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
-#include "ucw/base64.h"
-#include "ucw/base224.h"
-#include "images/images.h"
-#include "images/color.h"
-#include "images/signature.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
+#include <ucw/base64.h>
+#include <ucw/base224.h>
+#include <images/images.h>
+#include <images/color.h>
+#include <images/signature.h>
#include <stdlib.h>
#include <fcntl.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "ucw/threads.h"
-#include "images/images.h"
-#include "images/color.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <ucw/threads.h>
+#include <images/images.h>
+#include <images/color.h>
#include <stdlib.h>
#include <string.h>
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/color.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/color.h>
#include <getopt.h>
#include <stdlib.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
#include <string.h>
# define IMAGE_WALK_SEC_IMAGE src
# define IMAGE_WALK_DOUBLE
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = walk_sec_pos[0]; walk_pos[1] = walk_sec_pos[1]; walk_pos[2] = walk_sec_pos[2]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
else if (src->row_size != img->row_size || ((img->flags | src->flags) & IMAGE_GAPS_PROTECTED))
{
#ifndef _IMAGES_IMAGES_H
#define _IMAGES_IMAGES_H
-#include "ucw/bbuf.h"
+#include <ucw/bbuf.h>
struct mempool;
struct fastbuf;
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
#include <stdio.h>
#include <sys/types.h>
# define IMAGE_WALK_COL_STEP 2
# define IMAGE_WALK_DO_ROW_START do{ src = buf; jpeg_read_scanlines(&i->cinfo, (JSAMPLE **)&src, 1); }while(0)
# define IMAGE_WALK_DO_STEP do{ walk_pos[0] = *src++; walk_pos[1] = 255; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
break;
case 4: /* * -> *+Alpha or aligned * */
# define IMAGE_WALK_COL_STEP 4
# define IMAGE_WALK_DO_ROW_START do{ src = buf; jpeg_read_scanlines(&i->cinfo, (JSAMPLE **)&src, 1); }while(0)
# define IMAGE_WALK_DO_STEP do{ *(u32 *)walk_pos = *(u32 *)src; walk_pos[3] = 255; src += 3; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
break;
default:
# define IMAGE_WALK_COL_STEP 2
# define IMAGE_WALK_DO_ROW_END do{ dest = buf; jpeg_write_scanlines(&i.cinfo, (JSAMPLE **)&dest, 1); }while(0)
# define IMAGE_WALK_DO_STEP do{ *dest++ = walk_pos[0]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 4: /* *+Alpha or aligned * -> * */
# define IMAGE_WALK_COL_STEP 4
# define IMAGE_WALK_DO_ROW_END do{ dest = buf; jpeg_write_scanlines(&i.cinfo, (JSAMPLE **)&dest, 1); }while(0)
# define IMAGE_WALK_DO_STEP do{ *dest++ = walk_pos[0]; *dest++ = walk_pos[1]; *dest++ = walk_pos[2]; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
default:
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
#include <sys/types.h>
#include <stdlib.h>
# define IMAGE_WALK_DO_STEP do{ \
walk_pos[0] = libmagick_pixel_to_gray(src); \
src++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 2:
walk_pos[0] = libmagick_pixel_to_gray(src); \
walk_pos[1] = ALPHA_TO_BYTE(src->opacity); \
src++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 3:
walk_pos[1] = QUANTUM_TO_BYTE(src->green); \
walk_pos[2] = QUANTUM_TO_BYTE(src->blue); \
src++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 4:
walk_pos[2] = QUANTUM_TO_BYTE(src->blue); \
walk_pos[3] = ALPHA_TO_BYTE(src->opacity); \
src++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
default:
dest->blue = BYTE_TO_QUANTUM(walk_pos[0]); \
dest->opacity = 0; \
dest++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 2:
dest->blue = BYTE_TO_QUANTUM(walk_pos[0]); \
dest->opacity = BYTE_TO_ALPHA(walk_pos[1]); \
dest++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 3:
dest->blue = BYTE_TO_QUANTUM(walk_pos[2]); \
dest->opacity = 0; \
dest++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
case 4:
dest->blue = BYTE_TO_QUANTUM(walk_pos[2]); \
dest->opacity = BYTE_TO_ALPHA(walk_pos[3]); \
dest++; }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
default:
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
#include <png.h>
#include <setjmp.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
#include <gif_lib.h>
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *walk_pos = pal[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 2:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *(u16 *)walk_pos = ((u16 *)pal)[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 3:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ byte *p = pal + 4 * (*pixels++); walk_pos[0] = p[0]; walk_pos[1] = p[1]; walk_pos[2] = p[2]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 4:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *(u32 *)walk_pos = ((u32 *)pal)[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
default:
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/io-main.h"
-#include "images/color.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/io-main.h>
+#include <images/color.h>
#include <string.h>
* of the GNU General Public License.
*/
-#include "ucw/lib.h"
-#include "images/math.h"
+#include <ucw/lib.h>
+#include <images/math.h>
const u32 fast_div_tab[] = {
0, 4294967295U,2147483648U,1431655766, 1073741824, 858993460, 715827883, 613566757,
#undef LOCAL_DEBUG
#include "sherlock/sherlock.h"
-#include "ucw/base224.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
+#include <ucw/base224.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
#include "sherlock/object.h"
-#include "images/images.h"
-#include "images/object.h"
-#include "images/color.h"
-#include "images/signature.h"
+#include <images/images.h>
+#include <images/object.h>
+#include <images/color.h>
+#include <images/signature.h>
#include <stdio.h>
#include <string.h>
#ifndef _IMAGES_OBJECT_H
#define _IMAGES_OBJECT_H
-#include "images/images.h"
+#include <images/images.h>
struct image_obj_info {
uns cols;
# define IMAGE_WALK_COL_STEP IMAGE_SCALE_PIXEL_SIZE
# define IMAGE_WALK_DO_ROW_START do{ row_start = src->pixels + (y_pos >> 16) * src->row_size; y_pos += y_inc; x_pos = x_start; }while(0)
# define IMAGE_WALK_DO_STEP do{ byte *pos = row_start + (x_pos >> 16) * IMAGE_SCALE_PIXEL_SIZE; x_pos += x_inc; IMAGE_COPY_PIXEL(walk_pos, pos); }while(0)
-# include "images/image-walk.h"
+# include <images/image-walk.h>
}
#if 0 /* Experiments with rearranging pixels for SSE... */
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/math.h"
+#include <ucw/lib.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/math.h>
#include <string.h>
#define IMAGE_SCALE_PREFIX(x) image_scale_1_##x
#define IMAGE_SCALE_PIXEL_SIZE 1
-#include "images/scale-gen.h"
+#include <images/scale-gen.h>
#define IMAGE_SCALE_PREFIX(x) image_scale_2_##x
#define IMAGE_SCALE_PIXEL_SIZE 2
-#include "images/scale-gen.h"
+#include <images/scale-gen.h>
#define IMAGE_SCALE_PREFIX(x) image_scale_3_##x
#define IMAGE_SCALE_PIXEL_SIZE 3
-#include "images/scale-gen.h"
+#include <images/scale-gen.h>
#define IMAGE_SCALE_PREFIX(x) image_scale_4_##x
#define IMAGE_SCALE_PIXEL_SIZE 4
-#include "images/scale-gen.h"
+#include <images/scale-gen.h>
/* Simple "nearest neighbour" algorithm */
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "images/math.h"
-#include "images/images.h"
-#include "images/signature.h"
+#include <ucw/lib.h>
+#include <images/math.h>
+#include <images/images.h>
+#include <images/signature.h>
#include <stdio.h>
#define ASORT_PREFIX(x) image_signatures_dist_integrated_##x
#define ASORT_KEY_TYPE uns
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
#define EXPLAIN
-#include "images/sig-cmp-gen.h"
-#include "images/sig-cmp-gen.h"
+#include <images/sig-cmp-gen.h>
+#include <images/sig-cmp-gen.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "images/images.h"
-#include "images/signature.h"
+#include <ucw/lib.h>
+#include <images/images.h>
+#include <images/signature.h>
#include <stdio.h>
byte *
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/conf.h"
-#include "images/images.h"
-#include "images/math.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/signature.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/conf.h>
+#include <images/images.h>
+#include <images/math.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/signature.h>
#include <alloca.h>
#include <math.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/heap.h"
-#include "images/images.h"
-#include "images/signature.h"
-#include "images/math.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/heap.h>
+#include <images/images.h>
+#include <images/signature.h>
+#include <images/math.h>
#include <string.h>
#define ASORT_PREFIX(x) prequant_##x
#define ASORT_KEY_TYPE uns
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
static uns
prequant(struct image_sig_block *blocks, uns blocks_count, struct image_sig_region *regions)
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "images/images.h"
-#include "images/signature.h"
-#include "images/math.h"
+#include <ucw/lib.h>
+#include <images/images.h>
+#include <images/signature.h>
+#include <images/math.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
-#include "shxml/internals.h"
-#include "ucw/stkstring.h"
-#include "ucw/ff-unicode.h"
+#include <ucw/lib.h>
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
+#include <shxml/internals.h>
+#include <ucw/stkstring.h>
+#include <ucw/ff-unicode.h>
#include <setjmp.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
-#include "shxml/internals.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ff-unicode.h"
-#include "ucw/unicode.h"
+#include <ucw/lib.h>
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
+#include <shxml/internals.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ff-unicode.h>
+#include <ucw/unicode.h>
/* Notations */
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
struct xml_dtd_notn *
xml_dtd_find_notn(struct xml_context *ctx, char *name)
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static struct xml_dtd_entity *
xml_dtd_declare_trivial_entity(struct xml_context *ctx, char *name, char *text)
#define HASH_GIVE_INIT_DATA
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
struct xml_dtd_elem *
xml_dtd_find_elem(struct xml_context *ctx, char *name)
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
/* Element attributes */
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
struct xml_dtd_attr *
xml_dtd_find_attr(struct xml_context *ctx, struct xml_dtd_elem *elem, char *name)
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
/* Enumerated attribute notations */
#define HASH_GIVE_ALLOC
#define HASH_TABLE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
/* DTD initialization/cleanup */
#ifndef _SHERLOCK_XML_DTD_H
#define _SHERLOCK_XML_DTD_H
-#include "shxml/xml.h"
+#include <shxml/xml.h>
struct xml_dtd {
struct mempool *pool; /* Memory pool where to allocate DTD */
#ifndef _SHERLOCK_XML_INTERNALS_H
#define _SHERLOCK_XML_INTERNALS_H
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
/*** Debugging ***/
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
-#include "shxml/internals.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ff-unicode.h"
-#include "ucw/unicode.h"
-#include "ucw/chartype.h"
-#include "ucw/hashfunc.h"
+#include <ucw/lib.h>
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
+#include <shxml/internals.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ff-unicode.h>
+#include <ucw/unicode.h>
+#include <ucw/chartype.h>
+#include <ucw/hashfunc.h>
#include <setjmp.h>
#define HASH_WANT_FIND
#define HASH_GIVE_ALLOC
XML_HASH_GIVE_ALLOC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void
xml_parse_attr(struct xml_context *ctx)
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
-#include "shxml/internals.h"
-#include "ucw/unicode.h"
-#include "ucw/ff-unicode.h"
-#include "charset/charconv.h"
-#include "charset/fb-charconv.h"
+#include <ucw/lib.h>
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
+#include <shxml/internals.h>
+#include <ucw/unicode.h>
+#include <ucw/ff-unicode.h>
+#include <charset/charconv.h>
+#include <charset/fb-charconv.h>
/*** Charecter categorization ***/
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "shxml/xml.h"
-#include "shxml/dtd.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <shxml/xml.h>
+#include <shxml/dtd.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef _SHERLOCK_XML_XML_H
#define _SHERLOCK_XML_XML_H
-#include "ucw/clists.h"
-#include "ucw/slists.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
+#include <ucw/clists.h>
+#include <ucw/slists.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
struct xml_context;
struct xml_dtd_entity;
* distribution and use, see copyright notice in zlib.h.
*/
-#include "ucw/lib.h"
-#include "ucw/lizard.h"
+#include <ucw/lib.h>
+#include <ucw/lizard.h>
#define BASE 65521UL /* largest prime smaller than 65536 */
#define NMAX 5552 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdlib.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/asio.h"
-#include "ucw/threads.h"
+#include <ucw/lib.h>
+#include <ucw/asio.h>
+#include <ucw/threads.h>
#include <string.h>
#include <unistd.h>
#ifndef _UCW_ASIO_H
#define _UCW_ASIO_H
-#include "ucw/workqueue.h"
-#include "ucw/clists.h"
+#include <ucw/workqueue.h>
+#include <ucw/clists.h>
/*
* This module takes care of scheduling and executing asynchronous I/O requests
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdlib.h>
#include <stdio.h>
}
#define ASORT_PREFIX(x) as_##x
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
int main(void)
{
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/base224.h"
+#include <ucw/lib.h>
+#include <ucw/base224.h>
static void
encode_block(byte *w, u32 hi, u32 lo)
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/base64.h"
-#include "ucw/threads.h"
+#include <ucw/lib.h>
+#include <ucw/base64.h>
+#include <ucw/threads.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/bbuf.h"
+#include <ucw/lib.h>
+#include <ucw/bbuf.h>
#include <stdio.h>
#define GBUF_TYPE byte
#define GBUF_PREFIX(x) bb_##x
-#include "ucw/gbuf.h"
+#include <ucw/gbuf.h>
/**
* printf() into a growing buffer with `va_list` arguments.
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <sys/mman.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdio.h>
#include <string.h>
#define BH_WANT_INSERT
#define BH_WANT_FINDMIN
#define BH_WANT_DELETEMIN
-#include "ucw/binheap-node.h"
+#include <ucw/binheap-node.h>
struct item {
struct bh_node n;
bht_do_dump(b, b->last_son, 1);
}
-#include "ucw/binheap.h"
+#include <ucw/binheap.h>
int main(void)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/bitops.h"
+#include <ucw/lib.h>
+#include <ucw/bitops.h>
/* Just a table, the rest is in bitops.h */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/bitops.h"
+#include <ucw/lib.h>
+#include <ucw/bitops.h>
int
bit_fls(u32 x)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/bitsig.h"
-#include "ucw/md5.h"
+#include <ucw/lib.h>
+#include <ucw/bitsig.h>
+#include <ucw/md5.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
const byte _c_cat[256] = {
#define CHAR(code,upper,lower,cat) cat,
-#include "ucw/char-map.h"
+#include <ucw/char-map.h>
#undef CHAR
};
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
const byte _c_lower[256] = {
#define CHAR(code,upper,lower,cat) lower,
-#include "ucw/char-map.h"
+#include <ucw/char-map.h>
#undef CHAR
};
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
const byte _c_upper[256] = {
#define CHAR(code,upper,lower,cat) upper,
-#include "ucw/char-map.h"
+#include <ucw/char-map.h>
#undef CHAR
};
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/mempool.h>
struct mempool *cf_pool; // current pool for loading new configuration
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/conf-internal.h"
-#include "ucw/clists.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/conf-internal.h>
+#include <ucw/clists.h>
+#include <ucw/fastbuf.h>
static void
spaces(struct fastbuf *fb, uns nr)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/conf-internal.h"
-#include "ucw/clists.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
-#include "ucw/chartype.h"
-#include "ucw/string.h"
-#include "ucw/stkstring.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/conf-internal.h>
+#include <ucw/clists.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <ucw/chartype.h>
+#include <ucw/string.h>
+#include <ucw/stkstring.h>
#include <stdlib.h>
#include <string.h>
static char line_buf[MAX_LINE];
static char *line = line_buf;
-#include "ucw/bbuf.h"
+#include <ucw/bbuf.h>
static bb_t copy_buf;
static uns copied;
#define GBUF_TYPE uns
#define GBUF_PREFIX(x) split_##x
-#include "ucw/gbuf.h"
+#include <ucw/gbuf.h>
static split_t word_buf;
static uns words;
static uns ends_by_brace; // the line is ended by "{"
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/conf-internal.h"
-#include "ucw/clists.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/conf-internal.h>
+#include <ucw/clists.h>
#include <string.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/conf-internal.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/conf-internal.h>
+#include <ucw/mempool.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/chartype.h>
#include <stdlib.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/conf-internal.h"
-#include "ucw/clists.h"
-#include "ucw/binsearch.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/conf-internal.h>
+#include <ucw/clists.h>
+#include <ucw/binsearch.h>
#include <string.h>
};
#define GBUF_TYPE struct dirty_section
#define GBUF_PREFIX(x) dirtsec_##x
-#include "ucw/gbuf.h"
+#include <ucw/gbuf.h>
static dirtsec_t dirty;
static uns dirties;
#define ASORT_KEY_TYPE struct dirty_section
#define ASORT_ELT(i) dirty.ptr[i]
#define ASORT_LT(x,y) x.sec < y.sec || x.sec == y.sec && x.ptr < y.ptr
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
static void
sort_dirty(void)
* (c) 2006 Robert Spalek <robert@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/clists.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/clists.h>
+#include <ucw/fastbuf.h>
#include <stdlib.h>
#include <stdio.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/eltpool.h"
+#include <ucw/lib.h>
+#include <ucw/eltpool.h>
struct eltpool *
ep_new(uns elt_size, uns elts_per_chunk)
#ifdef TEST
#include <stdio.h>
-#include "ucw/clists.h"
+#include <ucw/clists.h>
struct argh {
cnode n;
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/process.h"
+#include <ucw/lib.h>
+#include <ucw/process.h>
#include <stdio.h>
#include <sys/wait.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/resource.h"
-#include "ucw/trans.h"
-#include "ucw/stkstring.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/resource.h>
+#include <ucw/trans.h>
+#include <ucw/stkstring.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/io.h"
-#include "ucw/conf.h"
-#include "ucw/trans.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
+#include <ucw/conf.h>
+#include <ucw/trans.h>
#include <string.h>
#include <fcntl.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <stdlib.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/io.h"
-#include "ucw/asio.h"
-#include "ucw/conf.h"
-#include "ucw/threads.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
+#include <ucw/asio.h>
+#include <ucw/conf.h>
+#include <ucw/threads.h>
#include <string.h>
#include <fcntl.h>
#ifdef TEST
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
int main(int argc, char **argv)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
#include <stdio.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/mempool.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <unistd.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/io.h"
-#include "ucw/conf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/io.h>
+#include <ucw/conf.h>
#include <string.h>
#include <fcntl.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/io.h"
-#include "ucw/fastbuf.h"
-#include "ucw/trans.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/io.h>
+#include <ucw/fastbuf.h>
+#include <ucw/trans.h>
#include <fcntl.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/fb-socket.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/fb-socket.h>
#include <stdio.h>
#include <unistd.h>
#ifndef _UCW_FB_SOCKET_H
#define _UCW_FB_SOCKET_H
-#include "ucw/fastbuf.h"
+#include <ucw/fastbuf.h>
struct fbsock_params { /** Configuration of socket fastbuf. **/
int fd;
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <fcntl.h>
#ifdef TEST
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
int main(int argc, char **argv)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ff-binary.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ff-binary.h>
#define GEN(type, name, size, endian) \
type bget##name##_##endian##_slow(struct fastbuf *f) \
#ifndef _UCW_FF_BINARY_H
#define _UCW_FF_BINARY_H
-#include "ucw/fastbuf.h"
-#include "ucw/unaligned.h"
+#include <ucw/fastbuf.h>
+#include <ucw/unaligned.h>
#ifdef CPU_BIG_ENDIAN
#define FF_ENDIAN be
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <alloca.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
void
bgets_stk_init(struct bgets_stk_struct *s)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/mempool.h"
-#include "ucw/bbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/mempool.h>
+#include <ucw/bbuf.h>
char * /* Non-standard */
bgets(struct fastbuf *f, char *b, uns l)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/unicode.h"
-#include "ucw/ff-unicode.h"
-#include "ucw/ff-binary.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/unicode.h>
+#include <ucw/ff-unicode.h>
+#include <ucw/ff-binary.h>
/*** UTF-8 ***/
#ifndef _UCW_FF_UNICODE_H
#define _UCW_FF_UNICODE_H
-#include "ucw/fastbuf.h"
-#include "ucw/unicode.h"
+#include <ucw/fastbuf.h>
+#include <ucw/unicode.h>
/* ** UTF-8 ** */
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/gary.h"
+#include <ucw/lib.h>
+#include <ucw/gary.h>
#include <string.h>
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
void
reset_getopt(void)
#define _UCW_GETOPT_H
#ifdef CONFIG_UCW_OWN_GETOPT
-#include "ucw/getopt/getopt-sh.h"
+#include <ucw/getopt/getopt-sh.h>
#else
#include <getopt.h>
#endif
#define opterr ucw_opterr
#define optopt ucw_optopt
-#include "ucw/getopt/getopt.h"
+#include <ucw/getopt/getopt.h>
#endif
/* Tests for hash table routines */
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <stdio.h>
#include <string.h>
#define HASH_WANT_LOOKUP
#define HASH_WANT_REMOVE
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void test1(void)
{
#define HASH_WANT_FIND
#define HASH_WANT_NEW
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void test2(void)
{
#define HASH_USE_POOL pool3
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void test3(void)
{
/* TEST 4: complex keys */
-#include "ucw/hashfunc.h"
+#include <ucw/hashfunc.h>
struct node4 {
int port;
n->port = port;
}
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void test4(void)
{
#define HASH_WANT_NEW
#define HASH_WANT_DELETE
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
static void test5(void)
{
* it is faster than the classical version ;-)
*/
-#include "ucw/hashfunc.h"
+#include <ucw/hashfunc.h>
#include <stdlib.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/hashfunc.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/hashfunc.h>
+#include <ucw/chartype.h>
/* The number of bits the hash in the function hash_*() is rotated by after
* every pass. It should be prime with the word size. */
#ifndef _UCW_HASHFUNC_H
#define _UCW_HASHFUNC_H
-#include "ucw/lib.h"
+#include <ucw/lib.h>
/*** === String hashes [[strhash]] ***/
*
* (For dynamic tables, use HASH_FOR_ALL_DYNAMIC(hash_prefix, hash_table, variable) instead.)
*
- * Then include "ucw/hashtable.h" and voila, you have a hash table
+ * Then include <ucw/hashtable.h> and voila, you have a hash table
* suiting all your needs (at least those which you've revealed :) ).
*
* After including this file, all parameter macros are automatically
*/
#ifndef _UCW_HASHFUNC_H
-#include "ucw/hashfunc.h"
+#include <ucw/hashfunc.h>
#endif
-#include "ucw/prime.h"
+#include <ucw/prime.h>
#include <string.h>
#elif defined(HASH_USE_POOL)
/* If the caller has requested to use his mempool, do so */
-#include "ucw/mempool.h"
+#include <ucw/mempool.h>
static inline void * P(alloc) (TAUC unsigned int size) { return mp_alloc_fast(HASH_USE_POOL, size); }
static inline void P(free) (TAUC void *x UNUSED) { }
static inline void P(init_alloc) (TAU) { }
#elif defined(HASH_AUTO_POOL)
/* Use our own pools */
-#include "ucw/mempool.h"
+#include <ucw/mempool.h>
static inline void * P(alloc) (TAUC unsigned int size) { return mp_alloc_fast(T.pool, size); }
static inline void P(free) (TAUC void *x UNUSED) { }
static inline void P(init_alloc) (TAU) { T.pool = mp_new(HASH_AUTO_POOL); }
#elif defined(HASH_USE_ELTPOOL)
/* If the caller has requested to use his eltpool, do so */
-#include "ucw/eltpool.h"
+#include <ucw/eltpool.h>
static inline void * P(alloc) (TAUC unsigned int size UNUSED) { ASSERT(size <= (HASH_USE_ELTPOOL)->elt_size); return ep_alloc(HASH_USE_ELTPOOL); }
static inline void P(free) (TAUC void *x) { ep_free(HASH_USE_ELTPOOL, x); }
static inline void P(init_alloc) (TAU) { }
#elif defined(HASH_AUTO_ELTPOOL)
/* Use our own eltpools */
-#include "ucw/eltpool.h"
+#include <ucw/eltpool.h>
static inline void * P(alloc) (TAUC unsigned int size UNUSED) { return ep_alloc(T.eltpool); }
static inline void P(free) (TAUC void *x) { ep_free(T.eltpool, x); }
static inline void P(init_alloc) (TAU) { T.eltpool = ep_new(sizeof(P(bucket)), HASH_AUTO_ELTPOOL); }
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
#include <unistd.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
#include <stdio.h>
#include <fcntl.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
ucw_off_t ucw_file_size(const char *name)
{
* (c) 2004--2012 Martin Mares <mj@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
#include <fcntl.h>
#include <unistd.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/clists.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ipaccess.h"
+#include <ucw/lib.h>
+#include <ucw/clists.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ipaccess.h>
#include <string.h>
#ifndef _UCW_IPACCESS_H
#define _UCW_IPACCESS_H
-#include "ucw/clists.h"
+#include <ucw/clists.h>
extern struct cf_section ipaccess_cf;
int ipaccess_check(clist *l, u32 ip);
* (c) 2006, Pavel Charvat <pchar@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <string.h>
#if 0
#define KMP_PREFIX(x) kmp1_##x
#define KMP_WANT_CLEANUP
-#include "ucw/kmp.h"
+#include <ucw/kmp.h>
#define KMPS_PREFIX(x) kmp1s1_##x
#define KMPS_KMP_PREFIX(x) kmp1_##x
#define KMPS_WANT_BEST
#define KMPS_EXIT(kmp,src,s) TRACE("Best match has %d characters", s->best->len)
-#include "ucw/kmp-search.h"
+#include <ucw/kmp-search.h>
#define KMPS_PREFIX(x) kmp1s2_##x
#define KMPS_KMP_PREFIX(x) kmp1_##x
#define KMPS_VARS uns count;
#define KMPS_INIT(kmp,src,s) s->u.count = 0
#define KMPS_FOUND(kmp,src,s) s->u.count++
-#include "ucw/kmp-search.h"
+#include <ucw/kmp-search.h>
static void
test1(void)
#define KMPS_MERGE_CONTROLS
#define KMPS_FOUND(kmp,src,s) TRACE("String %s with id %d found", s->out->u.str, s->out->u.id)
#define KMPS_STEP(kmp,src,s) TRACE("Got to state %p after reading %d", s->s, s->c)
-#include "ucw/kmp.h"
+#include <ucw/kmp.h>
static void
test2(void)
#define KMP_WANT_SEARCH
#define KMPS_VARS uns sum, *cnt;
#define KMPS_FOUND(kmp,src,s) do{ ASSERT(s->u.cnt[s->out->u.index]); s->u.cnt[s->out->u.index]--; s->u.sum--; }while(0)
-#include "ucw/kmp.h"
+#include <ucw/kmp.h>
static void
test3(void)
#define KMPS_FOUND(kmp,src,s) TRACE("found")
#define KMPS_ADD_CONTROLS
#define KMPS_MERGE_CONTROLS
-#include "ucw/kmp.h"
+#include <ucw/kmp.h>
static void
test4(void)
* #define KMP_WANT_CLEANUP
* #define KMP_WANT_SEARCH // includes ucw/kmp-search.h automatically
* #define KMPS_FOUND(kmp,src,s) printf("found\n")
- * #include "ucw/kmp.h"
+ * #include <ucw/kmp.h>
*
* [...]
*
#error Missing KMP_PREFIX
#endif
-#include "ucw/mempool.h"
+#include <ucw/mempool.h>
#include <alloca.h>
#include <string.h>
#endif
#define HASH_CONSERVE_SPACE
#define HASH_TABLE_DYNAMIC
-#include "ucw/hashtable.h"
+#include <ucw/hashtable.h>
#define P(x) KMP_PREFIX(x)
struct P(struct) {
}
#else
# if defined(KMP_USE_UTF8)
-# include "ucw/unicode.h"
+# include <ucw/unicode.h>
# if defined(KMP_ONLYALPHA) || defined(KMP_TOLOWER) || defined(KMP_UNACCENT)
-# include "charset/unicat.h"
+# include <charset/unicat.h>
# endif
# elif defined(KMP_USE_ASCII)
# if defined(KMP_ONLYALPHA) || defined(KMP_TOLOWER)
-# include "ucw/chartype.h"
+# include <ucw/chartype.h>
# endif
# endif
static inline int
# undef KMP_WANT_SEARCH
# define KMPS_PREFIX(x) KMP_PREFIX(x)
# define KMPS_KMP_PREFIX(x) KMP_PREFIX(x)
-# include "ucw/kmp-search.h"
+# include <ucw/kmp-search.h>
#endif
#undef KMP_PREFIX
/* Test of large files */
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
#include <stdlib.h>
#include <time.h>
#ifndef _UCW_LIB_H
#define _UCW_LIB_H
-#include "ucw/config.h"
+#include <ucw/config.h>
#include <stdarg.h>
/*** === Macros for handling structures, offsets and alignment ***/
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/threads.h"
-#include "ucw/sighandler.h"
-#include "ucw/lizard.h"
+#include <ucw/lib.h>
+#include <ucw/threads.h>
+#include <ucw/sighandler.h>
+#include <ucw/lizard.h>
#include <sys/mman.h>
#include <fcntl.h>
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ff-binary.h"
-#include "ucw/lizard.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ff-binary.h>
+#include <ucw/lizard.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
* the compression method is based on zlib.
*/
-#include "ucw/lib.h"
-#include "ucw/lizard.h"
+#include <ucw/lib.h>
+#include <ucw/lizard.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
-#include "ucw/log-internal.h"
-#include "ucw/conf.h"
-#include "ucw/simple-lists.h"
-#include "ucw/tbf.h"
-#include "ucw/threads.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
+#include <ucw/log-internal.h>
+#include <ucw/conf.h>
+#include <ucw/simple-lists.h>
+#include <ucw/tbf.h>
+#include <ucw/threads.h>
#include <stdio.h>
#include <string.h>
#ifdef TEST
#include <unistd.h>
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
int main(int argc, char **argv)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
-#include "ucw/log-internal.h"
-#include "ucw/io.h"
-#include "ucw/threads.h"
-#include "ucw/simple-lists.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
+#include <ucw/log-internal.h>
+#include <ucw/io.h>
+#include <ucw/threads.h>
+#include <ucw/simple-lists.h>
#include <stdio.h>
#include <string.h>
/* Define an array (growing buffer) for pointers to log_streams. */
#define GBUF_TYPE struct log_stream*
#define GBUF_PREFIX(x) lsbuf_##x
-#include "ucw/gbuf.h"
+#include <ucw/gbuf.h>
extern struct lsbuf_t log_streams;
extern int log_streams_after;
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
-#include "ucw/log-internal.h"
-#include "ucw/simple-lists.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
+#include <ucw/log-internal.h>
+#include <ucw/simple-lists.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
#include <string.h>
#include <syslog.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
-#include "ucw/log-internal.h"
-#include "ucw/simple-lists.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
+#include <ucw/log-internal.h>
+#include <ucw/simple-lists.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef _UCW_LOG_H_
#define _UCW_LOG_H_
-#include "ucw/clists.h"
+#include <ucw/clists.h>
/*** === Messages and streams ***/
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mainloop.h"
+#include <ucw/lib.h>
+#include <ucw/mainloop.h>
#include <stdio.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mainloop.h"
+#include <ucw/lib.h>
+#include <ucw/mainloop.h>
#include <stdio.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mainloop.h"
+#include <ucw/lib.h>
+#include <ucw/mainloop.h>
#include <stdio.h>
#include <stdlib.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/heap.h"
-#include "ucw/mainloop.h"
-#include "ucw/threads.h"
-#include "ucw/gary.h"
-#include "ucw/process.h"
+#include <ucw/lib.h>
+#include <ucw/heap.h>
+#include <ucw/mainloop.h>
+#include <ucw/threads.h>
+#include <ucw/gary.h>
+#include <ucw/process.h>
#include <stdio.h>
#include <string.h>
#ifndef _UCW_MAINLOOP_H
#define _UCW_MAINLOOP_H
-#include "ucw/clists.h"
-#include "ucw/process.h"
+#include <ucw/clists.h>
+#include <ucw/process.h>
#include <signal.h>
* will fill a supplied 16-byte array with the digest.
*/
-#include "ucw/lib.h"
-#include "ucw/md5.h"
+#include <ucw/lib.h>
+#include <ucw/md5.h>
#include <string.h> /* for memcpy() */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <alloca.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <alloca.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <string.h>
#ifdef TEST
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/io.h"
-#include "ucw/partmap.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
+#include <ucw/partmap.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/prime.h"
+#include <ucw/lib.h>
+#include <ucw/prime.h>
static int /* Sequential search */
__isprime(uns x) /* We know x != 2 && x != 3 */
#ifndef _UCW_PRIME_H
#define _UCW_PRIME_H
-#include "ucw/lib.h"
+#include <ucw/lib.h>
/* prime.c */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/prime.h"
-#include "ucw/binsearch.h"
+#include <ucw/lib.h>
+#include <ucw/prime.h>
+#include <ucw/binsearch.h>
/* A table of odd primes, each is about 1.2 times the previous one */
static uns prime_table[] = {
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/process.h"
+#include <ucw/lib.h>
+#include <ucw/process.h>
#include <stdio.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdlib.h>
* (c) 2002, Robert Spalek <robert@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <stdlib.h>
* }
* TREE_END_FOR;
*
- * Then include "ucw/redblack.h" and voila, you have a tree suiting all your
+ * Then include <ucw/redblack.h> and voila, you have a tree suiting all your
* needs (at least those which you've revealed :) ).
*
* After including this file, all parameter macros are automatically
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
-#include "ucw/hashfunc.h"
-#include "ucw/regex.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
+#include <ucw/hashfunc.h>
+#include <ucw/regex.h>
#include <stdio.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
-#include "ucw/eltpool.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
+#include <ucw/eltpool.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
#include <stdio.h>
#include <unistd.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
+#include <ucw/mempool.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/resource.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
+#include <ucw/mempool.h>
#include <stdio.h>
#ifdef TEST
-#include "ucw/fastbuf.h"
+#include <ucw/fastbuf.h>
int main(void)
{
#ifndef _UCW_RESPOOL_H
#define _UCW_RESPOOL_H
-#include "ucw/clists.h"
-#include "ucw/threads.h"
+#include <ucw/clists.h>
+#include <ucw/threads.h>
/**
* A resource pool. It contains a name of the pool (which is printed
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/process.h"
+#include <ucw/lib.h>
+#include <ucw/process.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
-#include "ucw/fastbuf.h" // For the temp_file_name
+#include <ucw/fastbuf.h> // For the temp_file_name
/* In Darwin, sem_init() is unfortunately not implemented and the guide
* recommends emulating it using sem_open(). */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/sha1.h"
+#include <ucw/lib.h>
+#include <ucw/sha1.h>
#include <string.h>
#ifdef TEST
#include <stdio.h>
-#include "ucw/string.h"
+#include <ucw/string.h>
static uns rd(char *dest)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/sha1.h"
-#include "ucw/unaligned.h"
+#include <ucw/lib.h>
+#include <ucw/sha1.h>
+#include <ucw/unaligned.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
-#include "ucw/string.h"
+#include <ucw/string.h>
int main(void)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/conf-internal.h"
-#include "ucw/clists.h"
-#include "ucw/mempool.h"
-#include "ucw/chartype.h"
-#include "ucw/bbuf.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/conf-internal.h>
+#include <ucw/clists.h>
+#include <ucw/mempool.h>
+#include <ucw/chartype.h>
+#include <ucw/bbuf.h>
+#include <ucw/string.h>
#include <stdlib.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/log.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
#include <stdio.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/log.h"
-#include "ucw/mainloop.h"
-#include "ucw/clists.h"
-#include "ucw/getopt.h"
-#include "ucw/conf.h"
-#include "ucw/process.h"
+#include <ucw/lib.h>
+#include <ucw/log.h>
+#include <ucw/mainloop.h>
+#include <ucw/clists.h>
+#include <ucw/getopt.h>
+#include <ucw/conf.h>
+#include <ucw/process.h>
#include <stdio.h>
#include <string.h>
* (c) 2006 Martin Mares <mj@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/threads.h"
-#include "ucw/sighandler.h"
+#include <ucw/lib.h>
+#include <ucw/threads.h>
+#include <ucw/sighandler.h>
#include <stdlib.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/conf.h"
-#include "ucw/simple-lists.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/conf.h>
+#include <ucw/simple-lists.h>
simp_node *
simp_append(struct mempool *mp, clist *l)
#ifndef _UCW_SIMPLE_LISTS_H
#define _UCW_SIMPLE_LISTS_H
-#include "ucw/clists.h"
+#include <ucw/clists.h>
/***
* To simplify very common usage of circular linked links, whose nodes can hold only one or two trivial values,
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/slists.h"
+#include <ucw/lib.h>
+#include <ucw/slists.h>
static inline snode *
slist_raw_prev(slist *l, snode *n)
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/sorter/common.h"
+#include <ucw/lib.h>
+#include <ucw/sorter/common.h>
#include <string.h>
#include <alloca.h>
#ifdef CONFIG_UCW_THREADS
-#include "ucw/threads.h"
-#include "ucw/workqueue.h"
-#include "ucw/eltpool.h"
+#include <ucw/threads.h>
+#include <ucw/workqueue.h>
+#include <ucw/eltpool.h>
static uns asort_threads_use_count;
static uns asort_threads_ready;
* If you do not use hashing, these parameters should be omitted.
*/
-#include "ucw/sorter/common.h"
+#include <ucw/sorter/common.h>
#define Q(x) ASORT_PREFIX(x)
#ifndef _UCW_SORTER_COMMON_H
#define _UCW_SORTER_COMMON_H
-#include "ucw/clists.h"
+#include <ucw/clists.h>
/* Configuration variables */
extern uns sorter_trace, sorter_trace_array, sorter_stream_bufsize;
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/fastbuf.h"
-#include "ucw/sorter/common.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/fastbuf.h>
+#include <ucw/sorter/common.h>
uns sorter_trace;
uns sorter_trace_array;
* (c) 2007 Martin Mares <mj@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/io.h"
-#include "ucw/asio.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/io.h>
+#include <ucw/asio.h>
#include <stdio.h>
#include <stdlib.h>
* (c) 2007 Martin Mares <mj@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/io.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/io.h>
#include <stdio.h>
#include <stdlib.h>
*/
#include "sherlock/sherlock.h"
-#include "ucw/getopt.h"
-#include "ucw/md5.h"
-#include "ucw/heap.h"
+#include <ucw/getopt.h>
+#include <ucw/md5.h>
+#include <ucw/heap.h>
#include <stdio.h>
#include <stdlib.h>
#define ASORT_ELT(i) a[i].key
#define ASORT_SWAP(i,j) do { struct elt t=a[i]; a[i]=a[j]; a[j]=t; } while (0)
#define ASORT_EXTRA_ARGS , struct elt *a
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
#define ASORT_PREFIX(x) asi_##x
#define ASORT_KEY_TYPE u32
#define ASORT_ELT(i) ind[i]->key
#define ASORT_SWAP(i,j) do { struct elt *t=ind[i]; ind[i]=ind[j]; ind[j]=t; } while (0)
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
static void r1_sort(void)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/mempool.h"
-#include "ucw/stkstring.h"
-#include "ucw/sorter/common.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/mempool.h>
+#include <ucw/stkstring.h>
+#include <ucw/sorter/common.h>
#include <string.h>
#include <sys/time.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/stkstring.h"
+#include <ucw/stkstring.h>
#define ASORT_PREFIX(x) SORT_PREFIX(array_##x)
#define ASORT_KEY_TYPE P(key)
# define ASORT_LONG_HASH
# endif
#endif
-#include "ucw/sorter/array.h"
+#include <ucw/sorter/array.h>
/*
* This is a more efficient implementation of the internal sorter,
* of the GNU Lesser General Public License.
*/
-#include "ucw/stkstring.h"
+#include <ucw/stkstring.h>
#ifdef SORT_INTERNAL_RADIX
/* Keep copies of the items' hashes to save cache misses */
# define ASORT_LONG_HASH
# endif
#endif
-#include "ucw/sorter/array.h"
+#include <ucw/sorter/array.h>
/*
* The big_buf has the following layout:
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
-#include "ucw/mempool.h"
-#include "ucw/stkstring.h"
-#include "ucw/sorter/common.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
+#include <ucw/mempool.h>
+#include <ucw/stkstring.h>
+#include <ucw/sorter/common.h>
#include <fcntl.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/conf.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ff-binary.h"
-#include "ucw/hashfunc.h"
-#include "ucw/md5.h"
-#include "ucw/string.h"
-#include "ucw/prime.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/conf.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ff-binary.h>
+#include <ucw/hashfunc.h>
+#include <ucw/md5.h>
+#include <ucw/string.h>
+#include <ucw/prime.h>
#include <stdlib.h>
#include <stdio.h>
#define SORT_INT(k) (k).x
#define SORT_DELETE_INPUT 0
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
test_int(int mode, u64 size)
#define SORT_UNIFY
#define SORT_INT(k) (k).x
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
test_counted(int mode, u64 size)
#define SORT_OUTPUT_FB
#define SORT_HASH_BITS 32
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
gen_hash_key(int mode, struct key3 *k, uns i)
#define SORT_INPUT_FB
#define SORT_OUTPUT_FB
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
#define s4b_compare s4_compare
#define s4b_read_key s4_read_key
#define SORT_INPUT_FB
#define SORT_OUTPUT_FB
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
gen_key4(struct key4 *k)
#define ASORT_PREFIX(x) s5m_##x
#define ASORT_KEY_TYPE u32
-#include "ucw/sorter/array-simple.h"
+#include <ucw/sorter/array-simple.h>
static void s5_write_merged(struct fastbuf *f, struct key5 **keys, void **data, uns n, void *buf)
{
#define ASORT_PREFIX(x) s5p_##x
#define ASORT_KEY_TYPE struct s5_pair
#define ASORT_LT(x,y) s5p_lt(x,y)
-#include "ucw/sorter/array.h"
+#include <ucw/sorter/array.h>
static int s5_presort(struct fastbuf *dest, void *buf, size_t bufsize)
{
#define SORT_OUTPUT_THIS_FB
#define SORT_INT(k) (k).x
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
#define SORT_KEY_REGULAR struct key5
#define SORT_PREFIX(x) s5b_##x
#define s5b_write_merged s5_write_merged
#define s5b_copy_merged s5_copy_merged
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
test_graph(uns mode, u64 size)
#define SORT_UNIQUE
#define SORT_INT64(k) (k).x
-#include "ucw/sorter/sorter.h"
+#include <ucw/sorter/sorter.h>
static void
test_int64(int mode, u64 size)
* undef'd.
*/
-#include "ucw/sorter/common.h"
-#include "ucw/fastbuf.h"
+#include <ucw/sorter/common.h>
+#include <ucw/fastbuf.h>
#include <fcntl.h>
#if defined(SORT_HASH_BITS) || defined(SORT_INT)
#define SORT_INTERNAL_RADIX
-#include "ucw/sorter/s-radix.h"
+#include <ucw/sorter/s-radix.h>
#endif
#if defined(SORT_VAR_KEY) || defined(SORT_VAR_DATA) || defined(SORT_UNIFY_WORKSPACE)
-#include "ucw/sorter/s-internal.h"
+#include <ucw/sorter/s-internal.h>
#else
-#include "ucw/sorter/s-fixint.h"
+#include <ucw/sorter/s-fixint.h>
#endif
-#include "ucw/sorter/s-twoway.h"
-#include "ucw/sorter/s-multiway.h"
+#include <ucw/sorter/s-twoway.h>
+#include <ucw/sorter/s-multiway.h>
static struct fastbuf *P(sort)(
#ifdef SORT_INPUT_FILE
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/stkstring.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/stkstring.h>
+#include <ucw/string.h>
#include <stdio.h>
#include <alloca.h>
#include <string.h>
#include <stdio.h>
-#include "ucw/string.h"
+#include <ucw/string.h>
#define stk_strdup(s) ({ const char *_s=(s); uns _l=strlen(_s)+1; char *_x=alloca(_l); memcpy(_x, _s, _l); _x; })
#define stk_strndup(s,n) ({ const char *_s=(s); uns _l=strnlen(_s,(n)); char *_x=alloca(_l+1); memcpy(_x, _s, _l); _x[_l]=0; _x; })
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/string.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/string.h>
+#include <ucw/chartype.h>
#include <stdlib.h>
char *
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/string.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/string.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/string.h>
+#include <ucw/chartype.h>
static uns
hex_make(uns x)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
#define Convert(x) Cupcase(x)
#define MATCH_FUNC_NAME str_match_pattern_nocase
-#include "ucw/str-match.h"
+#include <ucw/str-match.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#define Convert(x) (x)
#define MATCH_FUNC_NAME str_match_pattern
-#include "ucw/str-match.h"
+#include <ucw/str-match.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/string.h"
+#include <ucw/string.h>
int
MATCH_FUNC_NAME(const char *p, const char *s)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
+#include <ucw/string.h>
#include <string.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/string.h>
#ifdef CONFIG_DARWIN
uns
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/chartype.h"
-#include "ucw/strtonum.h"
+#include <ucw/lib.h>
+#include <ucw/chartype.h>
+#include <ucw/strtonum.h>
#include <stdio.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/string.h"
-#include "ucw/chartype.h"
-#include "ucw/strtonum.h"
+#include <ucw/lib.h>
+#include <ucw/string.h>
+#include <ucw/chartype.h>
+#include <ucw/strtonum.h>
static uns detect_base(const char **pp, const uns flags)
{
#define STN_TYPE uns
#define STN_SUFFIX uns
-#include "ucw/strtonum-gen.h"
+#include <ucw/strtonum-gen.h>
#define STN_TYPE uintmax_t
#define STN_SUFFIX uintmax
-#include "ucw/strtonum-gen.h"
+#include <ucw/strtonum-gen.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/tbf.h"
+#include <ucw/lib.h>
+#include <ucw/tbf.h>
void
tbf_init(struct token_bucket_filter *f)
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/conf.h"
-#include "ucw/threads.h"
-#include "ucw/io.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/conf.h>
+#include <ucw/threads.h>
+#include <ucw/io.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <unistd.h>
#ifdef TEST
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
int main(int argc, char **argv)
{
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/threads.h"
-#include "ucw/conf.h"
+#include <ucw/lib.h>
+#include <ucw/threads.h>
+#include <ucw/conf.h>
uns ucwlib_thread_stack_size = 65556;
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/threads.h"
+#include <ucw/lib.h>
+#include <ucw/threads.h>
#ifdef CONFIG_UCW_THREADS
#ifndef _UCW_THREADS_H
#define _UCW_THREADS_H
-#include "ucw/sighandler.h"
+#include <ucw/sighandler.h>
/* This structure holds per-thread data */
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdio.h>
#include <stdlib.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/trans.h"
-#include "ucw/resource.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/trans.h>
+#include <ucw/resource.h>
+#include <ucw/mempool.h>
#include <stdio.h>
#ifndef _UCW_TRANS_H
#define _UCW_TRANS_H
-#include "ucw/mempool.h"
+#include <ucw/mempool.h>
#include <setjmp.h>
#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
#include <stdlib.h>
#include <string.h>
#ifdef LOCAL_DEBUG
#define TRIE_TRACE
#endif
-#include "ucw/trie.h"
+#include <ucw/trie.h>
static void
basic_test(void)
#ifdef LOCAL_DEBUG
#define TRIE_TRACE
#endif
-#include "ucw/trie.h"
+#include <ucw/trie.h>
static void
dynamic_test(void)
#ifdef LOCAL_DEBUG
#define TRIE_TRACE
#endif
-#include "ucw/trie.h"
+#include <ucw/trie.h>
#define MAX_STRINGS 200
#ifndef _SHERLOCK_UCW_TRIE_H
#define _SHERLOCK_UCW_TRIE_H
-#include "ucw/eltpool.h"
-#include "ucw/hashfunc.h"
+#include <ucw/eltpool.h>
+#include <ucw/hashfunc.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/unicode.h"
+#include <ucw/lib.h>
+#include <ucw/unicode.h>
uns
utf8_strlen(const byte *str)
#ifndef _UCW_UNICODE_H
#define _UCW_UNICODE_H
-#include "ucw/unaligned.h"
+#include <ucw/unaligned.h>
/* Macros for handling UTF-8 */
* XXX: The buffer handling in this module is really horrible, but it works.
*/
-#include "ucw/lib.h"
-#include "ucw/url.h"
-#include "ucw/chartype.h"
-#include "ucw/conf.h"
-#include "ucw/prime.h"
+#include <ucw/lib.h>
+#include <ucw/url.h>
+#include <ucw/chartype.h>
+#include <ucw/conf.h>
+#include <ucw/prime.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include "ucw/lib.h"
-#include "ucw/base64.h"
-#include "ucw/base224.h"
-#include "ucw/fastbuf.h"
-#include "ucw/getopt.h"
+#include <ucw/lib.h>
+#include <ucw/base64.h>
+#include <ucw/base224.h>
+#include <ucw/fastbuf.h>
+#include <ucw/getopt.h>
static struct option opts[] = {
{ "encode64", 0, 0, 'e' },
* 102 not running
*/
-#include "ucw/lib.h"
+#include <ucw/lib.h>
#include <stdlib.h>
#include <stdio.h>
* (c) 2004 Martin Mares <mj@ucw.cz>
*/
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/url.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/url.h>
+#include <ucw/fastbuf.h>
#include <stdio.h>
#include <stdlib.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
-#include "ucw/wildmatch.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/wildmatch.h>
#include <stdio.h>
#include <string.h>
* of the GNU Lesser General Public License.
*/
-#include "ucw/lib.h"
-#include "ucw/threads.h"
-#include "ucw/workqueue.h"
-#include "ucw/heap.h"
+#include <ucw/lib.h>
+#include <ucw/threads.h>
+#include <ucw/workqueue.h>
+#include <ucw/heap.h>
static void *
worker_thread_init(void *arg)
* until all of them finish.
*/
-#include "ucw/semaphore.h"
-#include "ucw/clists.h"
+#include <ucw/semaphore.h>
+#include <ucw/clists.h>
#include <pthread.h>