NewMadeleine

Documentation

« back to PM2 home.
nm_session_private.h
Go to the documentation of this file.
1/*
2 * NewMadeleine
3 * Copyright (C) 2006-2024 (see AUTHORS file)
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 */
15
16#ifndef NM_SESSION_PRIVATE_H
17#define NM_SESSION_PRIVATE_H
18
19#include <stdint.h>
21
30
31#endif /* NM_SESSION_PRIVATE_H */
uint32_t nm_session_hash_t
a session hashcode in tags, used to multiplex sessions
nm_session_hash_t hash_code
hash of session label, used as ID on the wire
void * p_sr_session
reference to be used by 'sendrecv' per-session state
void(* p_sr_destructor)(struct nm_session_s *)
function to call before session destroy
const char * label
plain text session name