Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/include Modified Files: evfs.h evfs_filereference.h Log Message: * Handle parsing of uris better` =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- evfs.h 16 Oct 2005 10:09:05 -0000 1.17 +++ evfs.h 18 Oct 2005 04:55:08 -0000 1.18 @@ -71,6 +71,12 @@ /*-----------*/ +/*This structure needs more development*/ +typedef struct evfs_auth_cache { + char* path; + char* username; + char* password; +} evfs_auth_cache; @@ -104,10 +110,14 @@ EVFS_EV_PART_DATA = 5, EVFS_EV_PART_STAT_SIZE = 6, EVFS_EV_PART_FILE_REFERENCE = 7, + EVFS_EV_PART_FILE_REFERENCE_USERNAME = 8, + EVFS_EV_PART_FILE_REFERENCE_PASSWORD = 9, - EVFS_COMMAND_TYPE = 8, - EVFS_FILE_REFERENCE = 9, - EVFS_COMMAND_END = 10, + EVFS_COMMAND_TYPE = 10, + EVFS_FILE_REFERENCE = 11, + EVFS_FILE_REFERENCE_PASSWORD = 12, + EVFS_FILE_REFERENCE_USERNAME = 13, + EVFS_COMMAND_END = 14, EVFS_EV_PART_END = 1000 =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_filereference.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- evfs_filereference.h 16 Oct 2005 10:09:05 -0000 1.1 +++ evfs_filereference.h 18 Oct 2005 04:55:08 -0000 1.2 @@ -9,6 +9,19 @@ EVFS_FILE_DIRECTORY = 2 }; +typedef enum evfs_uri_token_type { + EVFS_URI_TOKEN_KEYWORD, + EVFS_URI_TOKEN_OPERATOR, + EVFS_URI_TOKEN_STRING +} evfs_uri_token_type; + + +typedef struct evfs_uri_token { + evfs_uri_token_type type; + char* token_s; +} evfs_uri_token; + + typedef struct evfs_filereference { char* plugin_uri; struct evfs_plugin* plugin; @@ -18,6 +31,9 @@ evfs_file_type file_type; char* path; + char* username; /*The username/password pair (if any) required to hit this file*/ + char* password; + int fd; /*The file descriptor (if any) */ void* fd_p; } evfs_filereference; ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs