]> git.ozlabs.org Git - ccan/blob - ccan/jacobson_karels/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / jacobson_karels / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * jacobson_karels - Jacobson/Karels Round Trip Time algorithm
7  *
8  * This implements the Jacobson/Karels algorithm for estimating round
9  * trip time and appropriate timeouts over a network link.
10  *
11  * Author: David Gibson <david@gibson.dropbear.id>
12  * License: LGPL (v2.1 or any later version)
13  */
14 int main(int argc, char *argv[])
15 {
16         /* Expect exactly one argument */
17         if (argc != 2)
18                 return 1;
19
20         if (strcmp(argv[1], "depends") == 0) {
21                 printf("ccan/minmax\n");
22                 return 0;
23         }
24
25         return 1;
26 }