Bro internal integers types. Use stdint.h

Hi,

Currently Bro defines it's own integer types (uint32, uint64,
bro_int_t, etc.) with the help of ifdefs and autoconf. Furthermore, Bro
uses ifdef to decide which printf format to use for formatting 32 and 64
bit integers.

As part of the planned event engine cleanup, I suggest that we
  a) make sure that everything that can potentially overflow (counters)
     are 64 bit wide (in addition to enabling --enable-int64)
  b) use the standard type uint64_t, int32_t, etc. from inttypes.h (*)
  c) use the PRI* macros for *printf formatting (also from inttypes.h)

(*) inttypes.h is part of both, C99 and POSIX. See
http://www.opengroup.org/onlinepubs/000095399/basedefs/inttypes.h.html

Comments?

cu
Gregor

Ack.

My only concern is that I think Vern and I have discussed something
along these lines in the past and there was some road-block. Vern,
do you remember anything in that regard?

Robin

My only concern is that I think Vern and I have discussed something
along these lines in the past and there was some road-block. Vern,
do you remember anything in that regard?

It's not coming to mind ...

    Vern