Android-cuttlefish cvd tool
Classes | Typedefs | Functions | Variables
compress.c File Reference
#include "f2fs.h"
#include "compress.h"
Include dependency graph for compress.c:

Classes

struct  _ext_t
 

Typedefs

typedef struct _ext_t ext_t
 

Functions

static bool ext_found (const char *ext)
 
static const char * get_ext (const char *path)
 
static bool ext_do_filter (const char *path)
 
static void ext_filter_add (const char *ext)
 
static void ext_filter_destroy (void)
 

Variables

const char * supported_comp_names []
 
compress_ops supported_comp_ops []
 
static ext_textension_list
 
filter_ops ext_filter
 

Typedef Documentation

◆ ext_t

typedef struct _ext_t ext_t

Function Documentation

◆ ext_do_filter()

static bool ext_do_filter ( const char *  path)
static

◆ ext_filter_add()

static void ext_filter_add ( const char *  ext)
static

◆ ext_filter_destroy()

static void ext_filter_destroy ( void  )
static

◆ ext_found()

static bool ext_found ( const char *  ext)
static

◆ get_ext()

static const char * get_ext ( const char *  path)
static

Variable Documentation

◆ ext_filter

filter_ops ext_filter
Initial value:
= {
.destroy = ext_filter_destroy,
.filter = ext_do_filter,
}
static void ext_filter_destroy(void)
Definition: compress.c:161
static bool ext_do_filter(const char *path)
Definition: compress.c:141
static void ext_filter_add(const char *ext)
Definition: compress.c:147

◆ extension_list

ext_t* extension_list
static

◆ supported_comp_names

const char* supported_comp_names[]
Initial value:
= {
"lzo",
"lz4",
"",
}

compress.c

Copyright (c) 2020 Google Inc. Robin Hsu robin.nosp@m.hsu@.nosp@m.googl.nosp@m.e.co.nosp@m.m : add sload compression support

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

◆ supported_comp_ops

compress_ops supported_comp_ops[]
Initial value:
= {
{NULL, NULL, NULL},
{NULL, NULL, NULL},
}