sds_loaded

struct sds_resbuf *sds_loaded (void);


Determine which SDS™ applications are loaded.


This function tells you which SDS applications are loaded by returning a linked list of all the currently loaded application names. When no applications are loaded, this function returns NULL.

Example

struct sds_resbuf *loadlist;

struct sds_resbuf *templist;

char string1[512];

int howmany = 0;

loadlist=sds_loaded;

for (templist=loadlist;templist->rbnext!=NULL;templist=templist->rbnext){

if (templist->restype!=RTSTR)     // It *should* be a string, but if not...

sds_getstring(0,"\nWrong type. Press Enter.",string1);

else {

sds_printf("\nThe application %s is loaded.",templist->resval.rstring);

howmany++;

}

}

sds_printf("\nThere are %i applications loaded at this time.",howmany);

sds_relrb(loadlist);

loadlist=NULL;

templist=NULL;

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)

sds_xload

sds_xunload