X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fvlc_acl.h;h=881a008fde2c66c27c4a2d1f6051d53d01c3829e;hb=ed9204bc88f433a487cb78c8987febf50ee69aec;hp=8da40adf7964245f29696c6d637a596ae629453a;hpb=dc09f863f97360cd5dfcb9b475074c5d61f57fcd;p=vlc diff --git a/include/vlc_acl.h b/include/vlc_acl.h index 8da40adf79..881a008fde 100644 --- a/include/vlc_acl.h +++ b/include/vlc_acl.h @@ -19,22 +19,22 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#ifndef __VLC_ACL_H -# define __VLC_ACL_H +#ifndef VLC_ACL_H +# define VLC_ACL_H #define ACL_Create(a, b) __ACL_Create(VLC_OBJECT(a), b) #define ACL_Duplicate(a,b) __ACL_Duplicate(VLC_OBJECT(a),b) VLC_EXPORT( int, ACL_Check, ( vlc_acl_t *p_acl, const char *psz_ip ) ); -VLC_EXPORT( vlc_acl_t *, __ACL_Create, ( vlc_object_t *p_this, vlc_bool_t b_allow ) ); -VLC_EXPORT( vlc_acl_t *, __ACL_Duplicate, ( vlc_object_t *p_this, const vlc_acl_t *p_acl ) ); +VLC_EXPORT( vlc_acl_t *, __ACL_Create, ( vlc_object_t *p_this, bool b_allow ) LIBVLC_USED ); +VLC_EXPORT( vlc_acl_t *, __ACL_Duplicate, ( vlc_object_t *p_this, const vlc_acl_t *p_acl ) LIBVLC_USED ); VLC_EXPORT( void, ACL_Destroy, ( vlc_acl_t *p_acl ) ); #define ACL_AddHost(a,b,c) ACL_AddNet(a,b,-1,c) -VLC_EXPORT( int, ACL_AddNet, ( vlc_acl_t *p_acl, const char *psz_ip, int i_len, vlc_bool_t b_allow ) ); +VLC_EXPORT( int, ACL_AddNet, ( vlc_acl_t *p_acl, const char *psz_ip, int i_len, bool b_allow ) ); VLC_EXPORT( int, ACL_LoadFile, ( vlc_acl_t *p_acl, const char *path ) ); #endif