projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce para_sigaction().
[paraslash.git]
/
recv.h
diff --git
a/recv.h
b/recv.h
index 0d1c180e0c9562339dc80793604512438d9fd730..dc49ef956e69779f518ad235c6c25e76b1761498 100644
(file)
--- a/
recv.h
+++ b/
recv.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2005-200
8
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-200
9
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-105,6
+105,7
@@
struct receiver {
*/
void (*post_select)(struct sched *s, struct task *t);
*/
void (*post_select)(struct sched *s, struct task *t);
+ /** The two help texts of this receiver. */
struct ggo_help help;
};
struct ggo_help help;
};
@@
-127,7
+128,9
@@
extern struct receiver receivers[];
UDP_RECEIVER \
{.name = NULL}};
UDP_RECEIVER \
{.name = NULL}};
+/** Iterate over all available receivers. */
#define FOR_EACH_RECEIVER(i) for (i = 0; receivers[i].name; i++)
#define FOR_EACH_RECEIVER(i) for (i = 0; receivers[i].name; i++)
+void recv_init(void);
void *check_receiver_arg(char *ra, int *receiver_num);
void print_receiver_helps(int detailed);
void *check_receiver_arg(char *ra, int *receiver_num);
void print_receiver_helps(int detailed);