| 1246 | |
| 1247 | |
| 1248 | static USHORT name_length(const TEXT* name) |
| 1249 | { |
| 1250 | /************************************** |
| 1251 | * |
| 1252 | * n a m e _ l e n g t h |
| 1253 | * |
| 1254 | ************************************** |
| 1255 | * |
| 1256 | * Functional description |
| 1257 | * Compute length of user supplied name. |
| 1258 | * |
| 1259 | **************************************/ |
| 1260 | |
| 1261 | // CVC: Beware, another function that stops at the first blank!!! |
| 1262 | const TEXT* p = name; |
| 1263 | while (*p && *p != ' ') |
| 1264 | ++p; |
| 1265 | |
| 1266 | return (USHORT) (p - name); |
| 1267 | } |
| 1268 | |
| 1269 | |
| 1270 | static void remove_name(dsql_name* name, dsql_name** list_ptr) |
no outgoing calls
no test coverage detected