X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=portable_io.h;h=7b0db29bfa3619dc695c59a8f444aa592e8c33bf;hp=1f3922f8c25a45f77ef7ff4c6958529d75c9ecb3;hb=7f9340341574044e16e1ffc30f856f13d1e3ba6c;hpb=f6f50d03a09d6bc423324206d274336e9905bbb4 diff --git a/portable_io.h b/portable_io.h index 1f3922f8..7b0db29b 100644 --- a/portable_io.h +++ b/portable_io.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2007 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + +/** \file portable_io.h Inline functions for endian-independent binary IO. */ + static inline uint64_t read_portable(unsigned bits, const char *buf) { uint64_t ret = 0;