Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git] / src / gras / DataDesc / datadesc_interface.h
index c311b30..8e8f122 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef GRAS_DATADESC_INTERFACE_H
 #define GRAS_DATADESC_INTERFACE_H
 
-XBT_PUBLIC(gras_datadesc_type_t) gras_datadesc_by_id  (long int code);
+XBT_PUBLIC(gras_datadesc_type_t) gras_datadesc_by_id(long int code);
 
 /* to debug */
 XBT_PUBLIC(void) gras_datadesc_type_dump(const gras_datadesc_type_t ddt);
@@ -23,21 +23,27 @@ XBT_PUBLIC(const char *) gras_datadesc_arch_name(int code);
 /* compare two data type description */
 XBT_PUBLIC(int)
 gras_datadesc_type_cmp(const gras_datadesc_type_t d1,
-               const gras_datadesc_type_t d2);
+                       const gras_datadesc_type_t d2);
 
 /* Access function */
-XBT_PUBLIC(int)  gras_datadesc_size(gras_datadesc_type_t type);
+XBT_PUBLIC(int) gras_datadesc_size(gras_datadesc_type_t type);
 /* Described data exchanges: direct use */
-XBT_PUBLIC(int) gras_datadesc_memcpy(gras_datadesc_type_t type, void *src, void *dst);
-XBT_PUBLIC(void) gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src);
-XBT_PUBLIC(void) gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type,
-               int r_arch, void *dst);
+XBT_PUBLIC(int) gras_datadesc_memcpy(gras_datadesc_type_t type, void *src,
+                                     void *dst);
+XBT_PUBLIC(void) gras_datadesc_send(gras_socket_t sock,
+                                    gras_datadesc_type_t type, void *src);
+XBT_PUBLIC(void) gras_datadesc_recv(gras_socket_t sock,
+                                    gras_datadesc_type_t type, int r_arch,
+                                    void *dst);
 
 /* Described data exchanges: IDL compilation FIXME: not implemented*/
-void gras_datadesc_gen_cpy(gras_datadesc_type_t type, void *src, void **dst);
-void gras_datadesc_gen_send(gras_socket_t sock, gras_datadesc_type_t type, void *src);
-void gras_datadesc_gen_recv(gras_socket_t sock, gras_datadesc_type_t type,
-               int r_arch, void *dst);
+     void gras_datadesc_gen_cpy(gras_datadesc_type_t type, void *src,
+                                void **dst);
+     void gras_datadesc_gen_send(gras_socket_t sock,
+                                 gras_datadesc_type_t type, void *src);
+     void gras_datadesc_gen_recv(gras_socket_t sock,
+                                 gras_datadesc_type_t type, int r_arch,
+                                 void *dst);
 
 
 #endif /* GRAS_DATADESC_INTERFACE_H */