Shared compression code. More...
Go to the source code of this file.
Functions | |
const char * | compress_list (void) |
Get a list of compression backend names. | |
const struct ComprOps * | compress_get_ops (const char *compr) |
Get the API functions for a compress backend. | |
Variables | |
static const struct ComprOps * | CompressOps [] |
Backend implementations. | |
Shared compression code.
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 http://www.gnu.org/licenses/.
Definition in file compress.c.
const char * compress_list | ( | void | ) |
Get a list of compression backend names.
ptr | Comma-space-separated list of names |
Definition at line 58 of file compress.c.
const struct ComprOps * compress_get_ops | ( | const char * | compr | ) |
Get the API functions for a compress backend.
compr | Name of the backend |
ptr | Set of function pointers |
Definition at line 81 of file compress.c.
|
static |
Backend implementations.
Definition at line 39 of file compress.c.