Mercurial > hg > xmms-sid
diff src/xs_length.h @ 392:b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
structures. Indentation cleanups, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 31 May 2006 10:02:00 +0000 |
parents | 19c89f9ca2cc |
children | f997b79a7251 |
line wrap: on
line diff
--- a/src/xs_length.h Tue May 30 04:50:04 2006 +0000 +++ b/src/xs_length.h Wed May 31 10:02:00 2006 +0000 @@ -1,5 +1,5 @@ -#ifndef XS_LENGTH_H -#define XS_LENGTH_H +#ifndef _XS_LENGTH_H +#define _XS_LENGTH_H #include "xmms-sid.h" #include "xs_md5.h" @@ -14,12 +14,11 @@ typedef struct _t_xs_sldb_node { t_xs_md5hash md5Hash; /* 128-bit MD5 hash-digest */ gint nLengths; /* Number of lengths */ - gint32 sLengths[XS_STIL_MAXENTRY+1]; - /* Lengths in seconds */ - + gint *sLengths; /* Lengths in seconds */ struct _t_xs_sldb_node *pPrev, *pNext; } t_xs_sldb_node; + typedef struct { t_xs_sldb_node *pNodes, **ppIndex; @@ -43,4 +42,4 @@ #ifdef __cplusplus } #endif -#endif /* XS_LENGTH_H */ +#endif /* _XS_LENGTH_H */