lp-msg.c 415 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/*
 * Copyright (C) 2014 University of Chicago.
 * See COPYRIGHT notice in top-level directory.
 *
*/

#include "codes/lp-msg.h"
#include "ross.h"

void msg_set_header(int magic, int event_type, tw_lpid src, msg_header *h){
    h->magic = magic;
    h->event_type = event_type;
    h->src = src;
}

/*
 * Local variables:
 *  c-indent-level: 4
 *  c-basic-offset: 4
 * End:
 *
 * vim: ts=8 sts=4 sw=4 expandtab
 */