aboutsummaryrefslogblamecommitdiffstats
path: root/libcoopgamma_async_context_initialise.c
blob: ec683dc60284770c652d41fcf6fefc5959612db3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                  
/* See LICENSE file for copyright and license details. */
#include "common.h"


/**
 * Initialise a `libcoopgamma_async_context_t`
 * 
 * @param   this  The record to initialise
 * @return        Zero on success, -1 on error
 */
int
libcoopgamma_async_context_initialise(libcoopgamma_async_context_t *restrict this)
{
	this->message_id = 0;
	this->coalesce = 0;
	return 0;
}