| 31 | }; |
| 32 | |
| 33 | static const char *_get_path_lastname(const char *path) |
| 34 | { |
| 35 | char *ptr; |
| 36 | if ((ptr = (char *)strrchr(path, '/')) == NULL) |
| 37 | return path; |
| 38 | |
| 39 | /* skip the '/' then return */ |
| 40 | return ++ptr; |
| 41 | } |
| 42 | |
| 43 | static enum rym_code _rym_recv_begin( |
| 44 | struct rym_ctx *ctx, |