1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
/*
imcfw.h: definitions supporting the implementation
of Interplanetary Multicast.
Author: Scott Burleigh, JPL
Modification History:
Date Who What
Copyright (c) 2012, California Institute of Technology.
ALL RIGHTS RESERVED. U.S. Government Sponsorship
acknowledged.
*/
#ifndef _IMCFW_H_
#define _IMCFW_H_
#include "bpP.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
uvast parent; /* node number */
Object kin; /* SDR list of NodeIds */
Object groups; /* SDR list of ImcGroups */
} ImcDB;
extern int imcInit();
extern Object getImcDbObject();
extern ImcDB *getImcConstants();
extern int imc_addKin(uvast nodeNbr, int isParent);
extern int imc_updateKin(uvast nodeNbr, int isParent);
extern void imc_removeKin(uvast nodeNbr);
#ifdef __cplusplus
}
#endif
#endif /* _IMCFW_H_ */
|