File: priority.h

package info (click to toggle)
cdebconf 0.182
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,668 kB
  • sloc: ansic: 16,289; sh: 547; makefile: 438; sql: 52; 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