Skip to content

Commit

Permalink
adding copy right statements to top of every file
Browse files Browse the repository at this point in the history
  • Loading branch information
zakird committed Jun 8, 2015
1 parent a493684 commit e9b28f7
Show file tree
Hide file tree
Showing 34 changed files with 247 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/cyclic.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef CYCLIC_H
#define CYCLIC_H

Expand Down
8 changes: 8 additions & 0 deletions src/expression.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "expression.h"
#include "fieldset.h"

Expand Down
8 changes: 8 additions & 0 deletions src/expression.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_TREE_H
#define ZMAP_TREE_H

Expand Down
8 changes: 8 additions & 0 deletions src/filter.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "filter.h"
#include "state.h"
#include "lexer.h"
Expand Down
8 changes: 8 additions & 0 deletions src/filter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_FILTER_H
#define ZMAP_FILTER_H

Expand Down
8 changes: 8 additions & 0 deletions src/get_gateway-bsd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_GET_GATEWAY_BSD_H
#define ZMAP_GET_GATEWAY_BSD_H

Expand Down
8 changes: 8 additions & 0 deletions src/get_gateway-linux.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_GET_GATEWAY_LINUX_H
#define ZMAP_GET_GATEWAY_LINUX_H

Expand Down
9 changes: 9 additions & 0 deletions src/iterator.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/


#include <assert.h>
#include <pthread.h>
#include <stdint.h>
Expand Down
8 changes: 8 additions & 0 deletions src/iterator.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_ITERATOR_H
#define ZMAP_ITERATOR_H

Expand Down
8 changes: 8 additions & 0 deletions src/lexer.l
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

%{
#pragma GCC diagnostic ignored "-Wredundant-decls"
#pragma GCC diagnostic ignored "-Wmissing-noreturn"
Expand Down
8 changes: 8 additions & 0 deletions src/output_modules/module_csv.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "../fieldset.h"
#include "output_modules.h"

Expand Down
2 changes: 1 addition & 1 deletion src/output_modules/module_mongodb.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Manuel Schönlaub <manuel.schoenlaub@gmail.com>
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
8 changes: 8 additions & 0 deletions src/output_modules/module_redis_csv.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "output_modules.h"

int redisstrmodule_init(struct state_conf *conf, char **fields, int fieldlens);
Expand Down
8 changes: 8 additions & 0 deletions src/output_modules/module_redis_packed.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "output_modules.h"

int redismodule_init(struct state_conf *conf, char **fields, int fieldlens);
Expand Down
8 changes: 8 additions & 0 deletions src/probe_modules/module_ntp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
Expand Down
9 changes: 8 additions & 1 deletion src/probe_modules/module_ntp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
//don't forget copyright license here
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "../state.h"
#include "../fieldset.h"

Expand Down
9 changes: 9 additions & 0 deletions src/recv-internal.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/


#ifndef ZMAP_RECV_INTERNAL_H
#define ZMAP_RECV_INTERNAL_H

Expand Down
9 changes: 9 additions & 0 deletions src/recv-pcap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/


#include "recv.h"

#include <stdlib.h>
Expand Down
8 changes: 8 additions & 0 deletions src/recv-pfring.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "recv.h"
#include "recv-internal.h"

Expand Down
1 change: 1 addition & 0 deletions src/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "recv.h"

#include <assert.h>
Expand Down
8 changes: 8 additions & 0 deletions src/send-bsd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_SEND_BSD_H
#define ZMAP_SEND_BSD_H

Expand Down
8 changes: 8 additions & 0 deletions src/send-linux.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_SEND_LINUX_H
#define ZMAP_SEND_LINUX_H

Expand Down
8 changes: 8 additions & 0 deletions src/send-pfring.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_SEND_PFRING_H
#define ZMAP_SEND_PFRING_H

Expand Down
8 changes: 8 additions & 0 deletions src/shard.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include <stdint.h>
#include <assert.h>

Expand Down
8 changes: 8 additions & 0 deletions src/shard.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_SHARD_H
#define ZMAP_SHARD_H

Expand Down
8 changes: 8 additions & 0 deletions src/socket-bsd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "socket.h"

#include <errno.h>
Expand Down
8 changes: 8 additions & 0 deletions src/socket-linux.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "socket.h"

#include <string.h>
Expand Down
8 changes: 8 additions & 0 deletions src/socket-pfring.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "socket.h"

#include "../lib/includes.h"
Expand Down
8 changes: 8 additions & 0 deletions src/socket.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "socket.h"

#include <string.h>
Expand Down
8 changes: 8 additions & 0 deletions src/socket.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#ifndef ZMAP_SOCKET_H
#define ZMAP_SOCKET_H

Expand Down
8 changes: 8 additions & 0 deletions src/summary.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include "summary.h"

#include <stdio.h>
Expand Down
8 changes: 8 additions & 0 deletions src/zbopt_compat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#if __GNUC__ < 4
#error "gcc version >= 4 is required"
#elif __GNUC_MINOR__ >= 6
Expand Down
8 changes: 8 additions & 0 deletions src/zopt_compat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#if __GNUC__ < 4
#error "gcc version >= 4 is required"
#elif __GNUC_MINOR__ >= 6
Expand Down
1 change: 1 addition & 0 deletions src/ztee.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit e9b28f7

Please sign in to comment.