comparison src/xs_support.h @ 660:b0743dc9165d

Change tabs to 4 spaces, everywhere.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 22:10:05 +0300
parents acaba070cf49
children 27fac414349d
comparison
equal deleted inserted replaced
659:04ea91a61225 660:b0743dc9165d
87 #define xs_ftell(a) ftell(a) 87 #define xs_ftell(a) ftell(a)
88 #define xs_fseek(a,b,c) fseek(a,b,c) 88 #define xs_fseek(a,b,c) fseek(a,b,c)
89 #endif 89 #endif
90 guint16 xs_fread_be16(xs_file_t *); 90 guint16 xs_fread_be16(xs_file_t *);
91 guint32 xs_fread_be32(xs_file_t *); 91 guint32 xs_fread_be32(xs_file_t *);
92 gint xs_fload_buffer(const gchar *, guint8 **, size_t *); 92 gint xs_fload_buffer(const gchar *, guint8 **, size_t *);
93 93
94 94
95 /* Misc functions 95 /* Misc functions
96 */ 96 */
97 gchar *xs_strncpy(gchar *, const gchar *, size_t); 97 gchar *xs_strncpy(gchar *, const gchar *, size_t);
98 gint xs_pstrcpy(gchar **, const gchar *); 98 gint xs_pstrcpy(gchar **, const gchar *);
99 gint xs_pstrcat(gchar **, const gchar *); 99 gint xs_pstrcat(gchar **, const gchar *);
100 void xs_pnstrcat(gchar *, size_t, const gchar *); 100 void xs_pnstrcat(gchar *, size_t, const gchar *);
101 gchar *xs_strrchr(gchar *, const gchar); 101 gchar *xs_strrchr(gchar *, const gchar);
102 void xs_findnext(const gchar *, size_t *); 102 void xs_findnext(const gchar *, size_t *);
103 void xs_findeol(const gchar *, size_t *); 103 void xs_findeol(const gchar *, size_t *);
104 void xs_findnum(const gchar *, size_t *); 104 void xs_findnum(const gchar *, size_t *);
105 105
106 #ifdef __cplusplus 106 #ifdef __cplusplus
107 } 107 }
108 #endif 108 #endif
109 #endif /* XS_SUPPORT_H */ 109 #endif /* XS_SUPPORT_H */