Ticket #36: his64.diff

File his64.diff, 2.1 KB (added by eagle, 14 years ago)

his64v6 backend

  • history/Make.methods

    old new  
    11# This file is automatically generated by buildconfig
    22
    3 METHOD_SOURCES  = hisv6/hisv6.c
     3METHOD_SOURCES  = his64v6/his64v6.c hisv6/hisv6.c
    44EXTRA_SOURCES   =
    55PROGRAMS        =
    66INSTALLED       =
  • inn2-2.4.0+20031130

    old new  
    3030        rm -f buildconfig hismethods.c hismethods.h
    3131        rm -f profiled libinnhist$(PROFSUFFIX).a
    3232        rm -rf .libs */.libs
     33        rm -f his64v6/his64v6.h his64v6/his64v6.c
     34
     35his64v6/his64v6.h: hisv6/hisv6.h
     36        sed -e 's@hisv6_@his64v6_@' -e 's@HISV6_H@HIS64V6_H@' \
     37                < hisv6/hisv6.h > his64v6/his64v6.h
     38
     39his64v6/his64v6.c: his64v6/header64.h hisv6/hisv6.c
     40        cat his64v6/header64.h hisv6/hisv6.c \
     41            | sed -e 's@^#include "hisv6.h"@#include "his64v6.h"@' \
     42         -e 's@^#include "hisv6-private.h"@#include "hisv6/hisv6-private.h"@' \
     43                > his64v6/his64v6.c
    3344
    3445tags ctags: $(SOURCES)
    3546        $(CTAGS) $(SOURCES) ../include/*.h
     
    101112 ../include/inn/timer.h ../include/libinn.h ../include/storage.h \
    102113 hisinterface.h hismethods.h
    103114hismethods.o: hismethods.c hisinterface.h ../include/config.h \
     115 his64v6/his64v6.h \
    104116 ../include/inn/defines.h hismethods.h hisv6/hisv6.h
    105117hisv6/hisv6.o: hisv6/hisv6.c ../include/config.h ../include/inn/defines.h \
    106118 ../include/clibrary.h hisinterface.h hisv6/hisv6.h \
  • history/his64v6/header64.h

    old new  
     1#define _FILE_OFFSET_BITS 64
     2#define hisv6_open his64v6_open
     3#define hisv6_close his64v6_close
     4#define hisv6_sync his64v6_sync
     5#define hisv6_lookup his64v6_lookup
     6#define hisv6_check his64v6_check
     7#define hisv6_write his64v6_write
     8#define hisv6_replace his64v6_replace
     9#define hisv6_expire his64v6_expire
     10#define hisv6_walk his64v6_walk
     11#define hisv6_error his64v6_error
     12#define hisv6_remember his64v6_remember
     13#define hisv6_ctl his64v6_ctl
  • history/his64v6/hismethod.config

    old new  
     1name    = his64v6
     2number  = 1
     3sources = his64v6.c