Skip to content

Commit

Permalink
Add apache license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-dressler committed Oct 8, 2014
1 parent 79df4e9 commit 8b8a84c
Show file tree
Hide file tree
Showing 11 changed files with 154 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/http.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#define _GNU_SOURCE
#include <assert.h>
#include <stdlib.h>
Expand Down
14 changes: 14 additions & 0 deletions src/http.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once
#include <stdint.h>
#include <sys/types.h>
Expand Down
14 changes: 14 additions & 0 deletions src/ippusbxd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
14 changes: 14 additions & 0 deletions src/logging.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#include <stdio.h>
#include <stdarg.h>

Expand Down
14 changes: 14 additions & 0 deletions src/logging.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once
#include <pthread.h> // For pthread_self()
#define TID() (pthread_self())
Expand Down
14 changes: 14 additions & 0 deletions src/options.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#include "options.h"

struct options g_options;
Expand Down
14 changes: 14 additions & 0 deletions src/options.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once
#include <stdint.h>

Expand Down
14 changes: 14 additions & 0 deletions src/tcp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
Expand Down
14 changes: 14 additions & 0 deletions src/tcp.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once
#include <stdint.h>

Expand Down
14 changes: 14 additions & 0 deletions src/usb.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
Expand Down
14 changes: 14 additions & 0 deletions src/usb.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2014 Daniel Dressler and contributors
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#pragma once

#include <libusb.h>
Expand Down

0 comments on commit 8b8a84c

Please sign in to comment.