#include "cms.hh"
#include "timer.hh"
#include "nmlqr.hh"
#include "dbg_mem.h"
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for nmlqr.cc:
Go to the source code of this file.
Data Structures | |
class | ID_REQUEST |
class | ID_REPLY |
class | ID_DELETE |
Defines | |
#define | ID_REQUEST_TYPE 9991 |
#define | ID_REPLY_TYPE 9992 |
#define | ID_DELETE_TYPE 9993 |
Functions | |
int | queryFormat (NMLTYPE type, void *buf, CMS *cms) |
int | idFormat (NMLTYPE type, void *buf, CMS *cms) |
|
|
|
|
|
|
|
Definition at line 81 of file nmlqr.cc. Referenced by idFormat().
00082 { 00083 ((NML_QUERY_MSG *) buf)->update (cms); 00084 return 0; 00085 } |
|
Definition at line 89 of file nmlqr.cc. 00090 { 00091 queryFormat (type, buf, cms); 00092 switch (type) 00093 { 00094 case ID_REQUEST_TYPE: 00095 ((ID_REQUEST *) buf)->update (cms); 00096 break; 00097 00098 case ID_REPLY_TYPE: 00099 ((ID_REPLY *) buf)->update (cms); 00100 break; 00101 00102 case ID_DELETE_TYPE: 00103 ((ID_DELETE *) buf)->update (cms); 00104 break; 00105 00106 default: 00107 return 0; 00108 } 00109 return 1; 00110 } |