annotate water.h @ 4:1188042ddc2f

update usage
author Daniel O'Connor <darius@dons.net.au>
date Tue, 27 Jan 2015 23:40:50 +1030
parents e75ecd162da3
children 951277329ee6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
1 /*
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
2 * Copyright (c) 2012
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
3 * Daniel O'Connor <darius@dons.net.au>. All rights reserved.
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
4 *
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
5 * Redistribution and use in source and binary forms, with or without
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
6 * modification, are permitted provided that the following conditions
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
7 * are met:
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
8 * 1. Redistributions of source code must retain the above copyright
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
9 * notice, this list of conditions and the following disclaimer.
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
10 * 2. Redistributions in binary form must reproduce the above copyright
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
11 * notice, this list of conditions and the following disclaimer in the
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
12 * documentation and/or other materials provided with the distribution.
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
13 *
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
14 * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
17 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
24 * SUCH DAMAGE.
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
25 */
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
26
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
27 void water_init(void);
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
28 void water_cmd(char *buf);
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
29 void water_update(void);
e75ecd162da3 Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
30