]> git.ozlabs.org Git - petitboot/blob - lib/flash/flash.h
lib/flash: fix resource leak in flash_setup_buffer() error paths
[petitboot] / lib / flash / flash.h
1 /*
2  *  Copyright (C) 2015 IBM Corporation
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; version 2 of the License.
7  *
8  *  This program is distributed in the hope that it will be useful,
9  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  *  GNU General Public License for more details.
12  *
13  */
14
15 #ifndef FLASH_H
16 #define FLASH_H
17
18 #include <flash/config.h>
19 #include <types/types.h>
20
21 int flash_parse_version(void *ctx, char ***versions, bool current);
22
23 #endif /* FLASH_H */