annotate stream/udp.h @ 21452:1f42a6aba8c9

Do not call usec_sleep when we are not supposed to sleep.
author reimar
date Sun, 03 Dec 2006 14:01:22 +0000
parents a28ef75c9fe7
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19318
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
1 /*
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
2 * Copyright (C) 2006 Benjamin Zores
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
3 * Network helpers for UDP connections (originally borrowed from rtp.c).
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
4 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
7 * the Free Software Foundation; either version 2 of the License, or
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
8 * (at your option) any later version.
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
9 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
13 * GNU General Public License for more details.
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
14 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
16 * along with this program; if not, write to the Free Software Foundation,
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
18 */
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
19
19332
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
20 #ifndef _UDP_H_
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
21 #define _UDP_H_
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
22
19318
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
23 int udp_open_socket (URL_t *url);
19332
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
24
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
25 #endif /* _UDP_H_ */