2 * Copyright (C) 2013 Martin Willi
4 * Copyright (C) secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * @defgroup osx_attr_handler osx_attr_handler
19 * @{ @ingroup osx_attr
22 #ifndef OSX_ATTR_HANDLER_H_
23 #define OSX_ATTR_HANDLER_H_
25 #include <attributes/attribute_handler.h>
27 typedef struct osx_attr_handler_t osx_attr_handler_t
;
30 * OS X specific attribute handler, using SystemConfiguration framework.
32 struct osx_attr_handler_t
{
35 * Implements attribute_handler_t.
37 attribute_handler_t handler
;
40 * Destroy a osx_attr_handler_t.
42 void (*destroy
)(osx_attr_handler_t
*this);
46 * Create an osx_attr_handler_t instance.
48 osx_attr_handler_t
*osx_attr_handler_create();
50 #endif /** OSX_ATTR_HANDLER_H_ @}*/