quran: don't include the newline
[cnoor.git] / quran.h
blob356ba080f08d1f288944b83558d787a3037d0ec8
1 #ifndef _QURAN_H
2 #define _QURAN_H
4 #define NSURA 114
6 struct quran {
7 char *text;
8 };
10 struct quran *quran_alloc(char *path);
11 void quran_aya(struct quran *quran, char *buf, size_t len, int aya);
12 void quran_free(struct quran *quran);
14 int sura_start(int sura);
15 int sura_ayas(int sura);
16 int aya_num(int sura, int aya);
18 #endif