Deleted Added
full compact
parse.y (225830) parse.y (225832)
1%{
2/*-
3 * Copyright (c) 2009-2010 The FreeBSD Foundation
4 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>
5 * All rights reserved.
6 *
7 * This software was developed by Pawel Jakub Dawidek under sponsorship from
8 * the FreeBSD Foundation.

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
1%{
2/*-
3 * Copyright (c) 2009-2010 The FreeBSD Foundation
4 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>
5 * All rights reserved.
6 *
7 * This software was developed by Pawel Jakub Dawidek under sponsorship from
8 * the FreeBSD Foundation.

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * $FreeBSD: head/sbin/hastd/parse.y 225830 2011-09-28 13:08:51Z pjd $
31 * $FreeBSD: head/sbin/hastd/parse.y 225832 2011-09-28 13:19:47Z pjd $
32 */
33
34#include <sys/param.h> /* MAXHOSTNAMELEN */
35#include <sys/queue.h>
36#include <sys/socket.h>
37#include <sys/sysctl.h>
38
39#include <arpa/inet.h>

--- 743 unchanged lines hidden (view full) ---

783 curres->hr_replication = -1;
784 curres->hr_checksum = -1;
785 curres->hr_compression = -1;
786 curres->hr_timeout = -1;
787 curres->hr_exec[0] = '\0';
788 curres->hr_provname[0] = '\0';
789 curres->hr_localpath[0] = '\0';
790 curres->hr_localfd = -1;
32 */
33
34#include <sys/param.h> /* MAXHOSTNAMELEN */
35#include <sys/queue.h>
36#include <sys/socket.h>
37#include <sys/sysctl.h>
38
39#include <arpa/inet.h>

--- 743 unchanged lines hidden (view full) ---

783 curres->hr_replication = -1;
784 curres->hr_checksum = -1;
785 curres->hr_compression = -1;
786 curres->hr_timeout = -1;
787 curres->hr_exec[0] = '\0';
788 curres->hr_provname[0] = '\0';
789 curres->hr_localpath[0] = '\0';
790 curres->hr_localfd = -1;
791 curres->hr_localflush = true;
791 curres->hr_metaflush = -1;
792 curres->hr_remoteaddr[0] = '\0';
793 curres->hr_sourceaddr[0] = '\0';
794 curres->hr_ggateunit = -1;
795 }
796 ;
797
798resource_entries:

--- 168 unchanged lines hidden ---
792 curres->hr_metaflush = -1;
793 curres->hr_remoteaddr[0] = '\0';
794 curres->hr_sourceaddr[0] = '\0';
795 curres->hr_ggateunit = -1;
796 }
797 ;
798
799resource_entries:

--- 168 unchanged lines hidden ---