X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b23e21f8228228b65702ca054fccf092b73e8aab..263f137c6dc42876eb1dff3701e3bebd5306ffc2:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index e7268b88f6..4d450ab9d7 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -56,8 +56,6 @@ class Exec; using ExecPtr = boost::intrusive_ptr; XBT_PUBLIC void intrusive_ptr_release(Exec* e); XBT_PUBLIC void intrusive_ptr_add_ref(Exec* e); -class ExecSeq; // FIXME: hide this class in implementation -class ExecPar; // FIXME: hide this class in implementation class Host; @@ -197,6 +195,7 @@ class VirtualMachineImpl; typedef simgrid::s4u::Actor s4u_Actor; typedef simgrid::s4u::Barrier s4u_Barrier; typedef simgrid::s4u::Comm s4u_Comm; +typedef simgrid::s4u::Exec s4u_Exec; typedef simgrid::s4u::Host s4u_Host; typedef simgrid::s4u::Link s4u_Link; typedef simgrid::s4u::File s4u_File; @@ -222,6 +221,7 @@ XBT_ATTRIB_DEPRECATED_v330("Please use kernel::activity::State") typedef simgrid typedef struct s4u_Actor s4u_Actor; typedef struct s4u_Barrier s4u_Barrier; typedef struct s4u_Comm s4u_Comm; +typedef struct s4u_Exec s4u_Exec; typedef struct s4u_Host s4u_Host; typedef struct s4u_Link s4u_Link; typedef struct s4u_File s4u_File; @@ -251,6 +251,8 @@ typedef s4u_Barrier* sg_bar_t; typedef const s4u_Barrier* const_sg_bar_t; typedef s4u_Comm* sg_comm_t; typedef const s4u_Comm* const_sg_comm_t; +typedef s4u_Exec* sg_exec_t; +typedef const s4u_Exec* const_sg_exec_t; typedef s4u_ConditionVariable* sg_cond_t; typedef const s4u_ConditionVariable* const_sg_cond_t; typedef s4u_Mailbox* sg_mailbox_t; @@ -291,4 +293,14 @@ typedef long long sg_offset_t; /** Actor's ID, just like the classical processes' have PID in UNIX */ typedef long aid_t; +typedef enum { + SG_OK, + SG_ERROR_CANCELED, + SG_ERROR_TIMEOUT, + SG_ERROR_HOST, + SG_ERROR_NETWORK, + SG_ERROR_STORAGE, + SG_ERROR_VM +} sg_error_t; + #endif /* SIMGRID_TYPES_H */