File: rule_list.h

package info (click to toggle)
gnomp3 0.1.7-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 488 kB
  • ctags: 342
  • sloc: ansic: 3,285; makefile: 74; awk: 33
file content (17 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef RULE_LIST_H
#define RULE_LIST_H

/*
 * Dynamicly generated playlist entries (i.e. those from the rules) are given
 * place numbers starting from RULE_LIST_START_NUM. This mean that there is a
 * maximum of RULE_LIST_START_NUM ordiary play list entries (i.e. non rule 
 * generated)
 */
#define RULE_LIST_START_NUM 32 * 1024

void rule_list_load_rule(char *line);
void rule_list_save_rules(FILE *fp);
void rule_list_add_song(MP3 *mp3);
void rule_list_apply();

#endif