Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/common


Modified Files:
        evfs_event_helper.c evfs_io.c 


Log Message:
* Handle auth requests/responses

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/common/evfs_event_helper.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- evfs_event_helper.c 11 Aug 2007 10:39:02 -0000      1.30
+++ evfs_event_helper.c 13 Aug 2007 03:05:21 -0000      1.31
@@ -76,6 +76,13 @@
 void
 evfs_auth_failure_event_create(evfs_client * client, evfs_command * command)
 {
+       evfs_event *event = NEW(evfs_event);
+       event->type = EVFS_EV_AUTH_REQUIRED;
+
+       evfs_write_event(client,command,event);
+
+       /*Now destroy */
+       evfs_cleanup_event(event);
 }
 
 void
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/common/evfs_io.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -3 -r1.70 -r1.71
--- evfs_io.c   11 Aug 2007 10:39:02 -0000      1.70
+++ evfs_io.c   13 Aug 2007 03:05:21 -0000      1.71
@@ -704,6 +704,7 @@
      case EVFS_CMD_METADATA_FILE_GROUP_ADD:
      case EVFS_CMD_METADATA_FILE_GROUP_REMOVE:
      case EVFS_CMD_TRASH_RESTORE:
+     case EVFS_CMD_AUTH_RESPONSE:
         evfs_write_file_command(conn, command);
         break;
      case EVFS_CMD_OPERATION_RESPONSE:
@@ -770,6 +771,7 @@
      case EVFS_CMD_METADATA_FILE_GROUP_ADD:
      case EVFS_CMD_METADATA_FILE_GROUP_REMOVE:
      case EVFS_CMD_TRASH_RESTORE:
+     case EVFS_CMD_AUTH_RESPONSE:
         evfs_write_file_command_client(client, command);
         break;
      default:



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to