X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=2ec3f03e546b3b1f3c038b7eea2e9cf8cf8a3438;hp=c18e7a0a19cfa1ff741fee6b8f3e0232a4813b7d;hb=eec23a69402951596dfcd81825c79d355f7bba0c;hpb=8536a1d8de423ab7d021c1f1364bb12fab8ce575 diff --git a/net.c b/net.c index c18e7a0a..2ec3f03e 100644 --- a/net.c +++ b/net.c @@ -264,6 +264,12 @@ struct flowopts { struct list_head sockopts; }; +/** + * Allocate and initialize a flowopt queue. + * + * \return A new structure to be passed to \ref flowopt_add(). It is + * automatically deallocated in \ref makesock(). + */ struct flowopts *flowopt_new(void) { struct flowopts *new = para_malloc(sizeof(*new));