1 /* 2 * Copyright (c) Tony Bybell 2008-2017. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 */ 9 10 #ifndef WAVE_HIERPACK_H 11 #define WAVE_HIERPACK_H 12 13 #include "globals.h" 14 15 #define HIER_DEPACK_ALLOC (0) 16 #define HIER_DEPACK_STATIC (1) 17 #define HIER_AUTO_ENABLE_CNT (500000) 18 19 void init_facility_pack(void); 20 char *compress_facility(unsigned char *key, unsigned int len); 21 void freeze_facility_pack(void); 22 23 char *hier_decompress_flagged(char *n, int *was_packed); 24 25 void hier_auto_enable(void); 26 27 #endif 28 29