Skip to content

Commit

Permalink
relay: add synchronization with remote and handler for events receive…
Browse files Browse the repository at this point in the history
…d (issue #2066)
  • Loading branch information
flashcode committed Apr 7, 2024
1 parent b664700 commit a499b50
Show file tree
Hide file tree
Showing 14 changed files with 665 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/en/weechat_dev.en.adoc
Expand Up @@ -344,6 +344,7 @@ WeeChat "core" is located in following directories:
|          relay-api-msg.c | Send JSON messages to clients.
|          relay-api-protocol.c | HTTP REST API protocol.
|          remote/ | Relay remote functions, specific to API.
|             relay-remote-event.c | Process events received from relay remote.
|             relay-remote-network.c | Network functions for relay remote.
|       irc/ | IRC proxy.
|          relay-irc.c | Main IRC proxy functions.
Expand Down
1 change: 1 addition & 0 deletions doc/fr/weechat_dev.fr.adoc
Expand Up @@ -346,6 +346,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|          relay-api-msg.c | Envoi de messages JSON aux clients.
|          relay-api-protocol.c | Protocole HTTP REST API.
|          remote/ | Relai distant.
|             relay-remote-event.c | Traitement des évènements reçus du relai distant.
|             relay-remote-network.c | Fonctions réseau pour le relai distant.
|       irc/ | Proxy IRC.
|          relay-irc.c | Fonctions principales pour le proxy IRC.
Expand Down
2 changes: 2 additions & 0 deletions doc/ja/weechat_dev.ja.adoc
Expand Up @@ -374,6 +374,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
// TRANSLATION MISSING
|          remote/ | Relay remote functions, specific to API.
// TRANSLATION MISSING
|             relay-remote-event.c | Process events received from relay remote.
// TRANSLATION MISSING
|             relay-remote-network.c | Network functions for relay remote.
|       irc/ | IRC プロキシ
|          relay-irc.c | IRC プロキシの主要関数
Expand Down
2 changes: 2 additions & 0 deletions doc/sr/weechat_dev.sr.adoc
Expand Up @@ -349,6 +349,8 @@ WeeChat „језгро” се налази у следећим директо
// TRANSLATION MISSING
|          remote/ | Relay remote functions, specific to API.
// TRANSLATION MISSING
|             relay-remote-event.c | Process events received from relay remote.
// TRANSLATION MISSING
|             relay-remote-network.c | Network functions for relay remote.
|       irc/ | IRC прокси.
|          relay-irc.c | Главне IRC прокси функције.
Expand Down
2 changes: 2 additions & 0 deletions po/srcfiles.cmake
Expand Up @@ -350,6 +350,8 @@ SET(WEECHAT_SOURCES
./src/plugins/relay/api/relay-api-msg.h
./src/plugins/relay/api/relay-api-protocol.c
./src/plugins/relay/api/relay-api-protocol.h
./src/plugins/relay/api/remote/relay-remote-event.c
./src/plugins/relay/api/remote/relay-remote-event.h
./src/plugins/relay/api/remote/relay-remote-network.c
./src/plugins/relay/api/remote/relay-remote-network.h
./src/plugins/relay/irc/relay-irc.c
Expand Down
1 change: 1 addition & 0 deletions src/plugins/relay/CMakeLists.txt
Expand Up @@ -50,6 +50,7 @@ if(ENABLE_CJSON)
api/relay-api-msg.c api/relay-api-msg.h
api/relay-api-protocol.c api/relay-api-protocol.h
# API relay remote
api/remote/relay-remote-event.c api/remote/relay-remote-event.h
api/remote/relay-remote-network.c api/remote/relay-remote-network.h
)
endif()
Expand Down

0 comments on commit a499b50

Please sign in to comment.