Commit 66da98a7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

include: remove STANDARD_(READ|BLOCK)_ACCESS_INIT macros

parent 1f2dc978
...@@ -74,20 +74,6 @@ VLC_API int access_vaDirectoryControlHelper( access_t *p_access, int i_query, va ...@@ -74,20 +74,6 @@ VLC_API int access_vaDirectoryControlHelper( access_t *p_access, int i_query, va
p_access->pf_seek = (seek); \ p_access->pf_seek = (seek); \
} while(0) } while(0)
#define STANDARD_READ_ACCESS_INIT \
do { \
ACCESS_SET_CALLBACKS( Read, NULL, Control, Seek ); \
p_sys = p_access->p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) ); \
if( !p_sys ) return VLC_ENOMEM;\
} while(0);
#define STANDARD_BLOCK_ACCESS_INIT \
do { \
ACCESS_SET_CALLBACKS( NULL, Block, Control, Seek ); \
p_sys = p_access->p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) ); \
if( !p_sys ) return VLC_ENOMEM; \
} while(0);
/** /**
* Access pf_readdir helper struct * Access pf_readdir helper struct
* \see access_fsdir_init() * \see access_fsdir_init()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment