netty_unix_errors.h — netty Source File
Architecture documentation for netty_unix_errors.h, a c file in the netty codebase. 1 imports, 4 dependents.
Entity Profile
Dependency Diagram
graph LR a4533dad_6113_0c5b_b279_28eaf7391fc5["netty_unix_errors.h"] 0c4a58dc_2fdd_e4ad_9234_08a5790f43e3["jni.h"] a4533dad_6113_0c5b_b279_28eaf7391fc5 --> 0c4a58dc_2fdd_e4ad_9234_08a5790f43e3 b460dd0c_7b1f_bf55_7d35_099b60c3ebbf["netty_unix.c"] b460dd0c_7b1f_bf55_7d35_099b60c3ebbf --> a4533dad_6113_0c5b_b279_28eaf7391fc5 b538e79f_f5cb_cc60_5a77_6b2382df83f1["netty_unix_errors.c"] b538e79f_f5cb_cc60_5a77_6b2382df83f1 --> a4533dad_6113_0c5b_b279_28eaf7391fc5 f6d32bf1_70b8_bf34_2f66_0f64bd206740["netty_unix_filedescriptor.c"] f6d32bf1_70b8_bf34_2f66_0f64bd206740 --> a4533dad_6113_0c5b_b279_28eaf7391fc5 daa4babc_e657_7631_ad9c_10c8bb120f11["netty_unix_socket.c"] daa4babc_e657_7631_ad9c_10c8bb120f11 --> a4533dad_6113_0c5b_b279_28eaf7391fc5 style a4533dad_6113_0c5b_b279_28eaf7391fc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/*
* Copyright 2015 The Netty Project
*
* The Netty Project licenses this file to you 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:
*
* https://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.
*/
#ifndef NETTY_UNIX_ERRORS_H_
#define NETTY_UNIX_ERRORS_H_
#include <jni.h>
void netty_unix_errors_throwRuntimeException(JNIEnv* env, char* message);
void netty_unix_errors_throwRuntimeExceptionErrorNo(JNIEnv* env, char* message, int errorNumber);
void netty_unix_errors_throwChannelExceptionErrorNo(JNIEnv* env, char* message, int errorNumber);
void netty_unix_errors_throwIOException(JNIEnv* env, char* message);
void netty_unix_errors_throwIOExceptionErrorNo(JNIEnv* env, char* message, int errorNumber);
void netty_unix_errors_throwPortUnreachableException(JNIEnv* env, char* message);
void netty_unix_errors_throwClosedChannelException(JNIEnv* env);
void netty_unix_errors_throwOutOfMemoryError(JNIEnv* env);
// JNI initialization hooks. Users of this file are responsible for calling these in the JNI_OnLoad and JNI_OnUnload methods.
jint netty_unix_errors_JNI_OnLoad(JNIEnv* env, const char* packagePrefix);
void netty_unix_errors_JNI_OnUnLoad(JNIEnv* env, const char* packagePrefix);
#endif /* NETTY_UNIX_ERRORS_H_ */
Domain
Dependencies
- jni.h
Imported By
Source
Frequently Asked Questions
What does netty_unix_errors.h do?
netty_unix_errors.h is a source file in the netty codebase, written in c. It belongs to the NativeTransport domain.
What does netty_unix_errors.h depend on?
netty_unix_errors.h imports 1 module(s): jni.h.
What files import netty_unix_errors.h?
netty_unix_errors.h is imported by 4 file(s): netty_unix.c, netty_unix_errors.c, netty_unix_filedescriptor.c, netty_unix_socket.c.
Where is netty_unix_errors.h in the architecture?
netty_unix_errors.h is located at transport-native-unix-common/src/main/c/netty_unix_errors.h (domain: NativeTransport, directory: transport-native-unix-common/src/main/c).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free