| 1 |
/* -*- coding: utf-8 -*- |
| 2 |
* ---------------------------------------------------------------------- |
| 3 |
* Copyright © 2012, libcorkipset authors |
| 4 |
* All rights reserved. |
| 5 |
* |
| 6 |
* Please see the COPYING file in this distribution for license details. |
| 7 |
* ---------------------------------------------------------------------- |
| 8 |
*/ |
| 9 |
|
| 10 |
#ifndef LIBCORK_IPSET_ERRORS_H |
| 11 |
#define LIBCORK_IPSET_ERRORS_H |
| 12 |
|
| 13 |
|
| 14 |
#include <libcork/core.h> |
| 15 |
|
| 16 |
|
| 17 |
/*----------------------------------------------------------------------- |
| 18 |
* Error reporting |
| 19 |
*/ |
| 20 |
|
| 21 |
/* Hash of "ipset.h" */ |
| 22 |
#define IPSET_ERROR 0xf2000181 |
| 23 |
|
| 24 |
enum ipset_error { |
| 25 |
IPSET_IO_ERROR, |
| 26 |
IPSET_PARSE_ERROR |
| 27 |
}; |
| 28 |
|
| 29 |
|
| 30 |
#endif /* LIBCORK_IPSET_ERRORS_H */ |