Kyle Swenson | 7900a3c | 2021-08-12 14:34:44 -0600 | [diff] [blame^] | 1 | /* cdu_seq_file.h |
| 2 | * |
| 3 | * This file defines client data usage proc file interface. |
| 4 | * |
| 5 | * Author: Cradlepoint Technology, Inc. <source@cradlepoint.com> |
| 6 | * Adrian Sitterle <asitterle@cradlepoint.com> |
| 7 | * |
| 8 | * Copyright (C) 2019 Cradlepoint Technology, Inc. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 |
| 12 | * as published by the Free Software Foundation. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | #include "cdu_types.h" |
| 22 | |
| 23 | int cdu_seq_file_init(void); |
| 24 | void cdu_seq_file_uninit(void); |
| 25 | |
| 26 | struct usage_htable *cdu_seq_file_create(const char *name, const u_int8_t readreset); |
| 27 | void cdu_seq_file_destroy(const struct usage_htable *priv); |