static void managePool(EjsPool *pool, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(pool->list); mprMark(pool->timer); mprMark(pool->mutex); mprMark(pool->template);
static void manageTestPath(TestPath *tp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(tp->dir1); mprMark(tp->dir2); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->company); mprMark(app->serviceName); } }
static void manageValidation(EdiValidation *vp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(vp->name); mprMark(vp->data); } }
static void manageEdiService(EdiService *es, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(es->providers); mprMark(es->validations); } }
static void manageRole(HttpRole *role, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(role->name); mprMark(role->abilities); } }
static void manageMsg(Msg *msg, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(msg->conn); mprMark(msg->packet); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->postData); mprMark(app->host); } }
static void manageCmdService(MprCmdService *cs, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(cs->cmds); mprMark(cs->mutex); } }
static void manageCacheItem(CacheItem *item, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(item->key); mprMark(item->data); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->complete); mprMark(app->mutex); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->traceToggle); mprMark(app->configFile); mprMark(app->pathVar); } }
static void manageMessage(Message *msg, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(msg->data); mprMark(msg->message); mprMark(msg->stack); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->compiler); mprMark(app->ejs); mprMark(app->modules); } }
static void manageModuleService(MprModuleService *ms, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(ms->modules); mprMark(ms->searchPath); mprMark(ms->mutex); } }
static void manageModule(MprModule *mp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(mp->name); mprMark(mp->path); mprMark(mp->entry); } }
static void manageIterator(EjsIterator *ip, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(ip->target); mprMark(ip->namespaces); mprMark(ip->indexVar); } }
static void manageSignal(MprSignal *sp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(sp->dispatcher); mprMark(sp->data); /* Don't mark next as it will prevent other signal handlers being reclaimed */ } }
static void manageVersion(MprVersion *vp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(vp->full); mprMark(vp->baseVersion); mprMark(vp->preVersion); } }
static void manageThreadData(ThreadData *data, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(data->url); mprMark(data->files); mprMark(data->conn); } }
static void manageHttpUploadFile(HttpUploadFile *file, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(file->name); mprMark(file->filename); mprMark(file->clientFilename); mprMark(file->contentType); } }
static void manageMdb(Mdb *mdb, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(mdb->path); mprMark(mdb->mutex); mprMark(mdb->tables); /* Don't mark load fields */ } }
static void manageSignalService(MprSignalService *ssp, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(ssp->mutex); mprMark(ssp->standard); mprMark(ssp->signals); /* Don't mark signals elements as it will prevent signal handlers being reclaimed */ } }
static void manageHttpCache(HttpCache *cache, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(cache->extensions); mprMark(cache->methods); mprMark(cache->types); mprMark(cache->uris); } }
static void manageStage(HttpStage *stage, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(stage->name); mprMark(stage->path); mprMark(stage->stageData); mprMark(stage->module); mprMark(stage->extensions); } }
static void manageXml(MprXml *xml, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(xml->inBuf); mprMark(xml->tokBuf); mprMark(xml->parseArg); mprMark(xml->inputArg); mprMark(xml->errMsg); } }
static void manageApp(App *app, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(app->serviceName); mprMark(app->serviceTitle); mprMark(app->serviceWindowName); mprMark(app->serviceWindowTitle); } else if (flags & MPR_MANAGE_FREE) { } }
static void manageMdb(Mdb *mdb, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(mdb->edi.path); mprMark(mdb->mutex); mprMark(mdb->tables); /* Don't mark load fields */ } else { mdbClose((Edi*) mdb); } }
static void manageEvent(MprEvent *event, int flags) { if (flags & MPR_MANAGE_MARK) { mprMark(event->dispatcher); mprMark(event->handler); if (!(event->flags & MPR_EVENT_STATIC_DATA)) { mprMark(event->data); } mprMark(event->sock); } }
static void manageEdiGrid(EdiGrid *grid, int flags) { int r; if (flags & MPR_MANAGE_MARK) { mprMark(grid->edi); mprMark(grid->tableName); for (r = 0; r < grid->nrecords; r++) { mprMark(grid->records[r]); } } }