comparison src/null/null.c @ 1100:e363a0fa8ea0 trunk

[svn] - null: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:35:49 -0700
parents d124034ebea3
children 8cf22270e0bf
comparison
equal deleted inserted replaced
1099:6e34e226676a 1100:e363a0fa8ea0
231 231
232 OutputPlugin null_op = 232 OutputPlugin null_op =
233 { 233 {
234 NULL, 234 NULL,
235 NULL, 235 NULL,
236 "Null output " VERSION, 236 "Null Output Plugin",
237 null_init, 237 null_init,
238 NULL, /* cleanup */ 238 NULL, /* cleanup */
239 null_about, 239 null_about,
240 null_configure, 240 null_configure,
241 NULL, /* Get volume */ 241 NULL, /* Get volume */
250 null_get_output_time, 250 null_get_output_time,
251 null_get_written_time, 251 null_get_written_time,
252 NULL /* tell */ 252 NULL /* tell */
253 }; 253 };
254 254
255 OutputPlugin *get_oplugin_info(void) 255 OutputPlugin *null_oplist[] = { &null_op, NULL };
256 { 256
257 return &null_op; 257 DECLARE_PLUGIN(null, NULL, NULL, NULL, null_oplist, NULL, NULL, NULL);
258 }