Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
37a5c2e9
Commit
37a5c2e9
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACL: remove leading underscores
parent
9ae7d4e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
include/vlc_acl.h
include/vlc_acl.h
+4
-4
src/libvlccore.sym
src/libvlccore.sym
+2
-2
src/network/acl.c
src/network/acl.c
+4
-4
No files found.
include/vlc_acl.h
View file @
37a5c2e9
...
...
@@ -25,12 +25,12 @@
#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
,
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
(
vlc_acl_t
*
,
ACL_Create
,
(
vlc_object_t
*
p_this
,
bool
b_allow
)
LIBVLC_USED
);
#define ACL_Create(a, b) ACL_Create(VLC_OBJECT(a), b)
VLC_EXPORT
(
vlc_acl_t
*
,
ACL_Duplicate
,
(
vlc_object_t
*
p_this
,
const
vlc_acl_t
*
p_acl
)
LIBVLC_USED
);
#define ACL_Duplicate(a,b) ACL_Duplicate(VLC_OBJECT(a),b)
VLC_EXPORT
(
void
,
ACL_Destroy
,
(
vlc_acl_t
*
p_acl
)
);
#define ACL_AddHost(a,b,c) ACL_AddNet(a,b,-1,c)
...
...
src/libvlccore.sym
View file @
37a5c2e9
access_GetParentInput
ACL_AddNet
ACL_Check
__
ACL_Create
ACL_Create
ACL_Destroy
__
ACL_Duplicate
ACL_Duplicate
ACL_LoadFile
AddMD5
aout_BitsPerSample
...
...
src/network/acl.c
View file @
37a5c2e9
...
...
@@ -199,7 +199,7 @@ int ACL_AddNet( vlc_acl_t *p_acl, const char *psz_ip, int i_len,
return
0
;
}
#undef ACL_Create
/**
* Creates an empty ACL.
*
...
...
@@ -208,7 +208,7 @@ int ACL_AddNet( vlc_acl_t *p_acl, const char *psz_ip, int i_len,
*
* @return an ACL object. NULL in case of error.
*/
vlc_acl_t
*
__
ACL_Create
(
vlc_object_t
*
p_this
,
bool
b_allow
)
vlc_acl_t
*
ACL_Create
(
vlc_object_t
*
p_this
,
bool
b_allow
)
{
vlc_acl_t
*
p_acl
;
...
...
@@ -225,7 +225,7 @@ vlc_acl_t *__ACL_Create( vlc_object_t *p_this, bool b_allow )
return
p_acl
;
}
#undef ACL_Duplicate
/**
* Perform a deep copy of an existing ACL.
*
...
...
@@ -234,7 +234,7 @@ vlc_acl_t *__ACL_Create( vlc_object_t *p_this, bool b_allow )
*
* @return a new ACL object, or NULL on error.
*/
vlc_acl_t
*
__
ACL_Duplicate
(
vlc_object_t
*
p_this
,
const
vlc_acl_t
*
p_acl
)
vlc_acl_t
*
ACL_Duplicate
(
vlc_object_t
*
p_this
,
const
vlc_acl_t
*
p_acl
)
{
vlc_acl_t
*
p_dupacl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment