File: priority.h

package info (click to toggle)
cdebconf 0.138lenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,184 kB
  • ctags: 1,371
  • sloc: ansic: 14,158; sh: 469; makefile: 429; sql: 51; perl: 13
file content (15 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * @file priority.c
 * @brief routines to handle priority field parsing and comparison
 */
#ifndef _PRIORITY_H_
#define _PRIORITY_H_

/**
 * @brief compares two priorities
 * @param const char *p1, const char *p2 - priorities to compare
 * @return int - <0 if p1<p2, ==0 if p1==p2, >0 if p1>p2
 */
int priority_compare(const char *p1, const char *p2);

#endif