File: priority.h

package info (click to toggle)
cdebconf 0.227
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,552 kB
  • sloc: ansic: 16,568; sh: 549; makefile: 456; 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