summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNate Straz <nstraz@redhat.com>2006-10-16 16:25:56 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:46 -0400
commite48d67a9c8ae00f613cc2cb449af6486bd8ba484 (patch)
tree78c4dff9303bcfff4da8001383ff71eea1a1565f
parent553e877c6d5e5249371573fc91e66f446111c67f (diff)
downloadqarsh-e48d67a9c8ae00f613cc2cb449af6486bd8ba484.zip
qarsh-e48d67a9c8ae00f613cc2cb449af6486bd8ba484.tar.gz
qarsh-e48d67a9c8ae00f613cc2cb449af6486bd8ba484.tar.xz
Add copyright notices and GPL header
-rw-r--r--btime.c19
-rw-r--r--btime.h18
-rw-r--r--btime_int.h18
-rw-r--r--btimec.c18
-rw-r--r--btimed.c19
-rw-r--r--hbeat.c17
-rw-r--r--hbeat.h18
-rw-r--r--hbeat_test.c19
-rw-r--r--qacp.c17
-rw-r--r--qarsh.c17
-rw-r--r--qarsh_packet.c19
-rw-r--r--qarsh_packet.h19
-rw-r--r--qarshd.c20
-rw-r--r--sockutil.c19
-rw-r--r--sockutil.h19
15 files changed, 275 insertions, 1 deletions
diff --git a/btime.c b/btime.c
index ad1569f..4b4c474 100644
--- a/btime.c
+++ b/btime.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/btime.h b/btime.h
index 41d3e39..d590b25 100644
--- a/btime.h
+++ b/btime.h
@@ -1,5 +1,23 @@
/*
* btime.h --
+ *
+ * Copyright © 2005 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
#ifndef __BTIME_H
diff --git a/btime_int.h b/btime_int.h
index 817df1c..b4d34ba 100644
--- a/btime_int.h
+++ b/btime_int.h
@@ -1,5 +1,23 @@
/*
* btime_int.h --
+ *
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
#ifndef __BTIME_INT_H
diff --git a/btimec.c b/btimec.c
index d766e8e..38f4fd6 100644
--- a/btimec.c
+++ b/btimec.c
@@ -2,6 +2,24 @@
* btimec.c --
*
* Example program for libbtime
+ *
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
#include <stdio.h>
diff --git a/btimed.c b/btimed.c
index c02b0bc..acc8b69 100644
--- a/btimed.c
+++ b/btimed.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/hbeat.c b/hbeat.c
index c51d159..42da6bd 100644
--- a/hbeat.c
+++ b/hbeat.c
@@ -3,6 +3,23 @@
*
* Simple heartbeating.
*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
#include <string.h>
diff --git a/hbeat.h b/hbeat.h
index 3238ccf..552633e 100644
--- a/hbeat.h
+++ b/hbeat.h
@@ -1,5 +1,23 @@
/*
* hbeat.h
+ *
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
typedef void * hbeat_t;
diff --git a/hbeat_test.c b/hbeat_test.c
index 2a88bc1..61c4c42 100644
--- a/hbeat_test.c
+++ b/hbeat_test.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <stdio.h>
#include "hbeat.h"
diff --git a/qacp.c b/qacp.c
index ccfcff8..3d90c91 100644
--- a/qacp.c
+++ b/qacp.c
@@ -3,6 +3,23 @@
*
* Copy a file to, or from, server.
*
+ * Copyright © 2005 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*
*/
diff --git a/qarsh.c b/qarsh.c
index 8ea3d35..28a1429 100644
--- a/qarsh.c
+++ b/qarsh.c
@@ -3,6 +3,23 @@
*
* Run a command on the server with lots of wizz-bang options
*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
*/
#define _GNU_SOURCE
diff --git a/qarsh_packet.c b/qarsh_packet.c
index 151beff..6e70e79 100644
--- a/qarsh_packet.c
+++ b/qarsh_packet.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <string.h>
#include <assert.h>
diff --git a/qarsh_packet.h b/qarsh_packet.h
index 07e90e7..e854bd5 100644
--- a/qarsh_packet.h
+++ b/qarsh_packet.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#ifndef _QARSH_PACKET_H
# define _QARSH_PACKET_H 1
diff --git a/qarshd.c b/qarshd.c
index 8e70626..9f9bba8 100644
--- a/qarshd.c
+++ b/qarshd.c
@@ -1,4 +1,22 @@
-
+/*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
diff --git a/sockutil.c b/sockutil.c
index 68a207d..db22f67 100644
--- a/sockutil.c
+++ b/sockutil.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2005,2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/sockutil.h b/sockutil.h
index 6e4b8dd..820376f 100644
--- a/sockutil.h
+++ b/sockutil.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2006 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions of the
+ * GNU General Public License v.2. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ * including the implied warranties of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
+ * trademarks that are incorporated in the source code or documentation are not
+ * subject to the GNU General Public License and may only be used or replicated
+ * with the express permission of Red Hat, Inc.
+ *
+ * Red Hat Author(s): Nathan Straz <nstraz@redhat.com>
+ * Dean Jansa <djansa@redhat.com>
+ */
#include <netinet/in.h>
int getsockport(int sd);