Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.         icy: support for SHOUTcast ICY meta info, an attempt to keep it organized
  3.  
  4.         copyright 2006-7 by the mpg123 project - free software under the terms of the LGPL 2.1
  5.         see COPYING and AUTHORS files in distribution or http://mpg123.org
  6.         initially written by Thomas Orgis and modelled after patch by Honza
  7. */
  8. #ifndef MPG123_ICY_H
  9. #define MPG123_ICY_H
  10.  
  11. #ifndef NO_ICY
  12.  
  13. #include "compat.h"
  14. #include "mpg123.h"
  15.  
  16. struct icy_meta
  17. {
  18.         char* data;
  19.         off_t interval;
  20.         off_t next;
  21. };
  22.  
  23. void init_icy(struct icy_meta *);
  24. void clear_icy(struct icy_meta *);
  25. void reset_icy(struct icy_meta *);
  26.  
  27. #else
  28.  
  29. #define init_icy(a)
  30. #define clear_icy(a)
  31. #define reset_icy(a)
  32.  
  33. #endif /* NO_ICY */
  34.  
  35. #endif
  36.