diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-05-04 22:16:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-05-04 22:16:24 +0200 |
commit | 80f480c752fd8dfa1be51d78fce314d9f0650b50 (patch) | |
tree | 459c21a3fde3b5f66194ac9960632de53586c5f0 /src/core/gnunet-service-core_sessions.h | |
parent | 3d2a951fa12546c09809f0a4d7e789ef8e971b03 (diff) | |
download | gnunet-80f480c752fd8dfa1be51d78fce314d9f0650b50.tar.gz gnunet-80f480c752fd8dfa1be51d78fce314d9f0650b50.zip |
simplify MQ logic to always carry the same kinds of flags, and extend transport API to pass them to (TNG) service
Diffstat (limited to 'src/core/gnunet-service-core_sessions.h')
-rw-r--r-- | src/core/gnunet-service-core_sessions.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h index 9f5070d57..e92ce0962 100644 --- a/src/core/gnunet-service-core_sessions.h +++ b/src/core/gnunet-service-core_sessions.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -114,14 +114,12 @@ GSC_SESSIONS_dequeue_request (struct GSC_ClientActiveRequest *car); | |||
114 | * @param car original request that was queued and then solicited, | 114 | * @param car original request that was queued and then solicited, |
115 | * ownership does not change (dequeue will be called soon). | 115 | * ownership does not change (dequeue will be called soon). |
116 | * @param msg message to transmit | 116 | * @param msg message to transmit |
117 | * @param cork is corking allowed? | ||
118 | * @param priority how important is this message | 117 | * @param priority how important is this message |
119 | */ | 118 | */ |
120 | void | 119 | void |
121 | GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, | 120 | GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, |
122 | const struct GNUNET_MessageHeader *msg, | 121 | const struct GNUNET_MessageHeader *msg, |
123 | int cork, | 122 | enum GNUNET_MQ_PriorityPreferences priority); |
124 | enum GNUNET_CORE_Priority priority); | ||
125 | 123 | ||
126 | 124 | ||
127 | /** | 125 | /** |
@@ -182,5 +180,4 @@ void | |||
182 | GSC_SESSIONS_done (void); | 180 | GSC_SESSIONS_done (void); |
183 | 181 | ||
184 | 182 | ||
185 | |||
186 | #endif | 183 | #endif |