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
7158665d
Commit
7158665d
authored
Jan 23, 2005
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/vlm.c: start exporting some VLM control functions
parent
fd474910
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
132 additions
and
92 deletions
+132
-92
include/vlc_common.h
include/vlc_common.h
+6
-3
include/vlc_vlm.h
include/vlc_vlm.h
+15
-5
src/misc/vlm.c
src/misc/vlm.c
+111
-84
No files found.
include/vlc_common.h
View file @
7158665d
...
@@ -390,11 +390,14 @@ typedef struct vod_media_t vod_media_t;
...
@@ -390,11 +390,14 @@ typedef struct vod_media_t vod_media_t;
typedef
struct
opengl_t
opengl_t
;
typedef
struct
opengl_t
opengl_t
;
typedef
struct
opengl_sys_t
opengl_sys_t
;
typedef
struct
opengl_sys_t
opengl_sys_t
;
/* divers */
/* VLM */
typedef
struct
vlc_meta_t
vlc_meta_t
;
typedef
struct
vlm_t
vlm_t
;
typedef
struct
vlm_t
vlm_t
;
typedef
struct
vlm_message_t
vlm_message_t
;
typedef
struct
vlm_message_t
vlm_message_t
;
typedef
struct
vlm_media_t
vlm_media_t
;
typedef
struct
vlm_schedule_t
vlm_schedule_t
;
/* divers */
typedef
struct
vlc_meta_t
vlc_meta_t
;
/*****************************************************************************
/*****************************************************************************
...
...
include/vlc_vlm.h
View file @
7158665d
...
@@ -46,7 +46,7 @@ typedef struct
...
@@ -46,7 +46,7 @@ typedef struct
}
vlm_media_instance_t
;
}
vlm_media_instance_t
;
typedef
struc
t
struct
vlm_media_
t
{
{
vlc_bool_t
b_enabled
;
vlc_bool_t
b_enabled
;
int
i_type
;
int
i_type
;
...
@@ -76,10 +76,10 @@ typedef struct
...
@@ -76,10 +76,10 @@ typedef struct
int
i_instance
;
int
i_instance
;
vlm_media_instance_t
**
instance
;
vlm_media_instance_t
**
instance
;
}
vlm_media_t
;
};
typedef
struc
t
struct
vlm_schedule_
t
{
{
/* names "schedule" is reserved */
/* names "schedule" is reserved */
char
*
psz_name
;
char
*
psz_name
;
...
@@ -97,7 +97,7 @@ typedef struct
...
@@ -97,7 +97,7 @@ typedef struct
i_repeat < 0 : endless repeat */
i_repeat < 0 : endless repeat */
int
i_repeat
;
int
i_repeat
;
}
vlm_schedule_t
;
};
/* ok, here is the structure of a vlm_message:
/* ok, here is the structure of a vlm_message:
The parent node is ( name_of_the_command , NULL ), or
The parent node is ( name_of_the_command , NULL ), or
...
@@ -134,6 +134,16 @@ struct vlm_t
...
@@ -134,6 +134,16 @@ struct vlm_t
VLC_EXPORT
(
vlm_t
*
,
__vlm_New
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
vlm_t
*
,
__vlm_New
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
vlm_Delete
,
(
vlm_t
*
)
);
VLC_EXPORT
(
void
,
vlm_Delete
,
(
vlm_t
*
)
);
VLC_EXPORT
(
int
,
vlm_ExecuteCommand
,
(
vlm_t
*
,
char
*
,
vlm_message_t
**
)
);
VLC_EXPORT
(
int
,
vlm_ExecuteCommand
,
(
vlm_t
*
,
char
*
,
vlm_message_t
**
)
);
VLC_EXPORT
(
void
,
vlm_MessageDelete
,
(
vlm_message_t
*
)
);
VLC_EXPORT
(
void
,
vlm_MessageDelete
,
(
vlm_message_t
*
)
);
VLC_EXPORT
(
vlm_media_t
*
,
vlm_MediaNew
,
(
vlm_t
*
,
char
*
,
int
)
);
VLC_EXPORT
(
void
,
vlm_MediaDelete
,
(
vlm_t
*
,
vlm_media_t
*
,
char
*
)
);
VLC_EXPORT
(
int
,
vlm_MediaSetup
,
(
vlm_t
*
,
vlm_media_t
*
,
char
*
,
char
*
)
);
VLC_EXPORT
(
int
,
vlm_MediaControl
,
(
vlm_t
*
,
vlm_media_t
*
,
char
*
,
char
*
,
char
*
)
);
VLC_EXPORT
(
vlm_schedule_t
*
,
vlm_ScheduleNew
,
(
vlm_t
*
,
char
*
)
);
VLC_EXPORT
(
void
,
vlm_ScheduleDelete
,
(
vlm_t
*
,
vlm_schedule_t
*
,
char
*
)
);
VLC_EXPORT
(
int
,
vlm_ScheduleSetup
,
(
vlm_schedule_t
*
,
char
*
,
char
*
)
);
VLC_EXPORT
(
int
,
vlm_MediaVodControl
,
(
void
*
,
vod_media_t
*
,
char
*
,
int
,
va_list
)
);
VLC_EXPORT
(
int
,
vlm_Save
,
(
vlm_t
*
,
char
*
)
);
VLC_EXPORT
(
int
,
vlm_Load
,
(
vlm_t
*
,
char
*
)
);
#endif
#endif
src/misc/vlm.c
View file @
7158665d
This diff is collapsed.
Click to expand it.
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