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