Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Attribute Definition Wrapper Functions for ORTE Proxy

In org.eclipse.ptp.orte.proxy/src/ptp_orte_proxy.c,
I added the following functions:

static void
sendAttrDefStringEvent(int trans_id, char *id, char *name, char *desc, int disp, char *def)
{
proxy_svr_queue_msg(orte_proxy,proxy_attr_def_string_event(trans_id, id, name, desc, disp, def));
}

static void
sendAttrDefIntEvent(int trans_id, char *id, char *name, char *desc, int disp, int def)
{
proxy_svr_queue_msg(orte_proxy,proxy_attr_def_int_event(trans_id, id, name, desc, disp, def));
}


I tested this wrapper function in ORTE_ModelDef to define extra attributes, and it works fine.

Thanks,
Christopher J Arges

Linux on Cell Development
IBM Linux Technology Center
Phone: (512) 838-1192
T/L: 678-1192


Back to the top