Revision 1853 trunk/glue/glue_json.c
| glue_json.c (revision 1853) | ||
|---|---|---|
| 308 | 308 | 
                  char *real_filename;  | 
              
| 309 | 309 | 
                  int old_state;  | 
              
| 310 | 310 | 
                  int new_state;  | 
              
| 311 | 
                  guint64 file_size_remaining;  | 
              |
| 312 | 
                  guint64 total_size;  | 
              |
| 313 | 
                  guint64 total_size_remaining;  | 
              |
| 311 | 314 | 
                   | 
              
| 312 | 315 | 
                  get_param(msg, params, "collection_name", "file_state_changed", string, collection_name);  | 
              
| 313 | 316 | 
                  get_param(msg, params, "subject", "file_state_changed", string, subject);  | 
              
| 314 | 317 | 
                  get_param(msg, params, "real_filename", "file_state_changed", string, real_filename);  | 
              
| 315 | 318 | 
                  get_param(msg, params, "old_state", "file_state_changed", int, old_state);  | 
              
| 316 | 319 | 
                  get_param(msg, params, "new_state", "file_state_changed", int, new_state);  | 
              
| 320 | 
                  get_param(msg, params, "file_size_remaining", "file_state_changed", int, file_size_remaining);  | 
              |
| 321 | 
                  get_param(msg, params, "total_size", "file_state_changed", int, total_size);  | 
              |
| 322 | 
                  get_param(msg, params, "total_size_remaining", "file_state_changed", int, total_size_remaining);  | 
              |
| 317 | 323 | 
                   | 
              
| 318 | 
                  nntpgrab_core_emit_file_state_changed(FALSE, collection_name, subject, real_filename, old_state, new_state);  | 
              |
| 324 | 
                  nntpgrab_core_emit_file_state_changed(FALSE, collection_name, subject, real_filename, old_state, new_state, file_size_remaining * 1024, total_size * 1024, total_size_remaining * 1024);  | 
              |
| 319 | 325 | 
                  }  | 
              
| 320 | 326 | 
                   | 
              
| 321 | 327 | 
                  static void  | 
              
Also available in: Unified diff
NNTPGrab

