aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive_internal.h')
-rw-r--r--src/archive_internal.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/archive_internal.h b/src/archive_internal.h
index 130d25d65..03439e826 100644
--- a/src/archive_internal.h
+++ b/src/archive_internal.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2009 The Music Player Daemon Project
+ * Copyright (C) 2003-2010 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -21,7 +21,14 @@
#define MPD_ARCHIVE_INTERNAL_H
struct archive_file {
- int placeholder;
+ const struct archive_plugin *plugin;
};
+static inline void
+archive_file_init(struct archive_file *archive_file,
+ const struct archive_plugin *plugin)
+{
+ archive_file->plugin = plugin;
+}
+
#endif