Mercurial > audlegacy-plugins
comparison src/scrobbler/plugin.c @ 1635:16044c4a34d7
scrobbler: C99 initialisers
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Fri, 07 Sep 2007 05:19:03 -0500 |
| parents | f4d8082668c1 |
| children | 62e89e392227 |
comparison
equal
deleted
inserted
replaced
| 1634:98c9257d0a80 | 1635:16044c4a34d7 |
|---|---|
| 54 static GMutex *hs_mutex, *xs_mutex; | 54 static GMutex *hs_mutex, *xs_mutex; |
| 55 static GCond *hs_cond, *xs_cond; | 55 static GCond *hs_cond, *xs_cond; |
| 56 | 56 |
| 57 static GeneralPlugin scrobbler_gp = | 57 static GeneralPlugin scrobbler_gp = |
| 58 { | 58 { |
| 59 NULL, | 59 .description = "Scrobbler Plugin", |
| 60 NULL, | 60 .init = init, |
| 61 "Scrobbler Plugin", | 61 .about = about_show, |
| 62 init, | 62 .cleanup = cleanup |
| 63 about_show, | |
| 64 NULL, | |
| 65 cleanup | |
| 66 }; | 63 }; |
| 67 | 64 |
| 68 static gboolean ishttp(const char *a) | 65 static gboolean ishttp(const char *a) |
| 69 { | 66 { |
| 70 g_return_val_if_fail(a != NULL, FALSE); | 67 g_return_val_if_fail(a != NULL, FALSE); |
