Codebase list gtkwave / 457be729-5368-47f5-83d0-c4fdf3c09209/main src / hierpack.h
457be729-5368-47f5-83d0-c4fdf3c09209/main

Tree @457be729-5368-47f5-83d0-c4fdf3c09209/main (Download .tar.gz)

hierpack.h @457be729-5368-47f5-83d0-c4fdf3c09209/mainraw · history · blame

/*
 * Copyright (c) Tony Bybell 2008-2017.
 *
 * 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 2
 * of the License, or (at your option) any later version.
 */

#ifndef WAVE_HIERPACK_H
#define WAVE_HIERPACK_H

#include "globals.h"

#define HIER_DEPACK_ALLOC (0)
#define HIER_DEPACK_STATIC (1)
#define HIER_AUTO_ENABLE_CNT (500000)

void init_facility_pack(void);
char *compress_facility(unsigned char *key, unsigned int len);
void freeze_facility_pack(void);

char *hier_decompress_flagged(char *n, int *was_packed);

void hier_auto_enable(void);

#endif