diff options
author | June McEnroe <programble@gmail.com> | 2018-02-22 15:30:12 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-02-22 15:30:12 -0500 |
commit | d37e895fb7955f6090b02a125236282e1858b53c (patch) | |
tree | 3195d6be8245dbc5393a72944a779e12954fc358 /stream.h | |
parent | Handle EINTR from kevent (diff) | |
download | stream-d37e895fb7955f6090b02a125236282e1858b53c.tar.gz stream-d37e895fb7955f6090b02a125236282e1858b53c.zip |
Factor out STREAM_SIZE for ingest and broadcast
Diffstat (limited to '')
-rw-r--r-- | stream.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/stream.h b/stream.h new file mode 100644 index 0000000..d719b7b --- /dev/null +++ b/stream.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2018, Curtis McEnroe <programble@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#define STREAM_SIZE (1024 * 1024) |