261f6d91d7
The pl_library_init() function is used to allocate a playlist for each library path already in the database, and pl_library_deinit() is then used to free this memory during cleanup. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
20 lines
442 B
C
20 lines
442 B
C
/*
|
|
* Copyright 2016 (c) Anna Schumaker.
|
|
*/
|
|
#ifndef OCARINA_CORE_PLAYLISTS_LIBRARY_H
|
|
#define OCARINA_CORE_PLAYLISTS_LIBRARY_H
|
|
#include <core/playlists/type.h>
|
|
|
|
|
|
/* Library playlist type. */
|
|
extern struct playlist_type pl_library;
|
|
|
|
|
|
/* Called to initialize library playlists. */
|
|
void pl_library_init(struct queue_ops *);
|
|
|
|
/* Called to deinitialize system playlists. */
|
|
void pl_library_deinit();
|
|
|
|
#endif /* OCARINA_CORE_PLAYLISTS_LIBRARY_H */
|