From: <n-...@us...> - 2007-01-30 13:02:54
|
Revision: 3525 http://gfarm.svn.sourceforge.net/gfarm/?rev=3525&view=rev Author: n-soda Date: 2007-01-30 05:02:54 -0800 (Tue, 30 Jan 2007) Log Message: ----------- mark new branch point Added Paths: ----------- gfarm/tags/gfarm_v1_cvs_base/lib/libgfarm/gfarm/agent_client.h Copied: gfarm/tags/gfarm_v1_cvs_base/lib/libgfarm/gfarm/agent_client.h (from rev 3524, gfarm/trunk/lib/libgfarm/gfarm/agent_client.h) =================================================================== --- gfarm/tags/gfarm_v1_cvs_base/lib/libgfarm/gfarm/agent_client.h (rev 0) +++ gfarm/tags/gfarm_v1_cvs_base/lib/libgfarm/gfarm/agent_client.h 2007-01-30 13:02:54 UTC (rev 3525) @@ -0,0 +1,88 @@ +/* + * $Id$ + */ + +struct agent_connection; + +char *agent_client_connect_unix( + struct sockaddr_un *, struct agent_connection **); +char *agent_client_connect_inet( + const char *, struct sockaddr *, struct agent_connection **); +char *agent_client_disconnect(struct agent_connection *); + +/* agent_client RPC */ + +char *agent_client_rpc(struct agent_connection *, int, int, char *, ...); + +char *agent_client_path_info_get( + struct agent_connection *, const char *, struct gfarm_path_info *); +char *agent_client_path_info_set( + struct agent_connection *, char *, struct gfarm_path_info *); +char *agent_client_path_info_replace( + struct agent_connection *, char *, struct gfarm_path_info *); +char *agent_client_path_info_remove(struct agent_connection *, const char *); +char *agent_client_realpath_canonical( + struct agent_connection *, const char *, char **); +char *agent_client_get_ino( + struct agent_connection *, const char *, gfarm_uint32_t *); +char *agent_client_opendir(struct agent_connection *, const char *, + gfarm_int32_t *); +char *agent_client_readdir( + struct agent_connection *, gfarm_int32_t, struct gfs_dirent **); +char *agent_client_closedir(struct agent_connection *, gfarm_int32_t); +char *agent_client_dirname(struct agent_connection *, gfarm_int32_t); +char *agent_client_seekdir(struct agent_connection *, + gfarm_int32_t, file_offset_t); +char *agent_client_telldir(struct agent_connection *, + gfarm_int32_t, file_offset_t*); +char *agent_client_uncachedir(struct agent_connection *); + +char *agent_client_host_info_get( + struct agent_connection *, const char *, struct gfarm_host_info *); +char *agent_client_host_info_remove_hostaliases( + struct agent_connection *, const char *); +char *agent_client_host_info_set( + struct agent_connection *, char *, struct gfarm_host_info *); +char *agent_client_host_info_replace( + struct agent_connection *, char *, struct gfarm_host_info *); +char *agent_client_host_info_remove(struct agent_connection *, const char *); +char *agent_client_host_info_get_all( + struct agent_connection *, int *, struct gfarm_host_info **); +char *agent_client_host_info_get_by_name_alias( + struct agent_connection *, const char *, struct gfarm_host_info *); +char *agent_client_host_info_get_allhost_by_architecture( + struct agent_connection *, + const char *, int *, struct gfarm_host_info **); + +char *agent_client_file_section_info_get( + struct agent_connection *, const char *, const char *, + struct gfarm_file_section_info *); +char *agent_client_file_section_info_set( + struct agent_connection *, char *, char *, + struct gfarm_file_section_info *); +char *agent_client_file_section_info_replace( + struct agent_connection *, char *, char *, + struct gfarm_file_section_info *); +char *agent_client_file_section_info_remove( + struct agent_connection *, const char *, const char *); +char *agent_client_file_section_info_get_all_by_file( + struct agent_connection *, const char *, int *, + struct gfarm_file_section_info **); + +char *agent_client_file_section_copy_info_get( + struct agent_connection *, const char *, const char *, const char *, + struct gfarm_file_section_copy_info *); +char *agent_client_file_section_copy_info_set( + struct agent_connection *, char *, char *, char *, + struct gfarm_file_section_copy_info *); +char *agent_client_file_section_copy_info_remove( + struct agent_connection *, const char *, const char *, const char *); +char *agent_client_file_section_copy_info_get_all_by_file( + struct agent_connection *, const char *, int *, + struct gfarm_file_section_copy_info **); +char *agent_client_file_section_copy_info_get_all_by_section( + struct agent_connection *, const char *, const char *, int *, + struct gfarm_file_section_copy_info **); +char *agent_client_file_section_copy_info_get_all_by_host( + struct agent_connection *, const char *, int *, + struct gfarm_file_section_copy_info **); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |