X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/4a3125b61348969b91b9642bba803fc17135c189..8c95a9e8b7ae0e2a480d7a6de0bf4ca933799c7e:/src/pack.h diff --git a/src/pack.h b/src/pack.h deleted file mode 100644 index 84d1030..0000000 --- a/src/pack.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * upkg: tool for manipulating Unreal Tournament packages. - * Copyright (C) 2009 Nick Bowler - * - * 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 . - */ - - -#ifndef PACK_H_ -#define PACK_H_ - -#include - -void pack_16_be(unsigned char *, unsigned short); -void pack_32_be(unsigned char *, unsigned long); -#ifdef ULLONG_MAX -void pack_64_be(unsigned char *, unsigned long long); -#endif - -void pack_16_le(unsigned char *, unsigned short); -void pack_32_le(unsigned char *, unsigned long); -#ifdef ULLONG_MAX -void pack_64_le(unsigned char *, unsigned long long); -#endif - -unsigned short unpack_16_be(const unsigned char *); -unsigned long unpack_32_be(const unsigned char *); -#ifdef ULLONG_MAX -unsigned long long unpack_64_be(const unsigned char *); -#endif - -unsigned short unpack_16_le(const unsigned char *); -unsigned long unpack_32_le(const unsigned char *); -#ifdef ULLONG_MAX -unsigned long long unpack_64_le(const unsigned char *); -#endif - -short unpack_s16_be(const unsigned char *); -long unpack_s32_be(const unsigned char *); -#ifdef LLONG_MAX -long long unpack_s64_be(const unsigned char *); -#endif - -short unpack_s16_le(const unsigned char *); -long unpack_s32_le(const unsigned char *); -#ifdef LLONG_MAX -long long unpack_s64_le(const unsigned char *); -#endif - -#endif