Skip to content

Commit

Permalink
add license and coments
Browse files Browse the repository at this point in the history
  • Loading branch information
SKTT1Ryze committed Apr 30, 2022
1 parent 8f3db44 commit 943adb0
Show file tree
Hide file tree
Showing 15 changed files with 590 additions and 7 deletions.
15 changes: 15 additions & 0 deletions src/accept.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2022 SKTT1Ryze. All rights reserved.
*
* 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 License.
* */
#include "kuro.h"

Accept::Accept(std::shared_ptr<io_uring>& uring, int sockfd,
Expand Down
16 changes: 16 additions & 0 deletions src/file.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2022 SKTT1Ryze. All rights reserved.
*
* 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 License.
* */

#include <fcntl.h>
#include <unistd.h>

Expand Down
16 changes: 16 additions & 0 deletions src/future.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2022 SKTT1Ryze. All rights reserved.
*
* 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 License.
* */

#include <coroutine>
#include <functional>

Expand Down
Loading

0 comments on commit 943adb0

Please sign in to comment.