Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <midgard/midgard.h> MidgardRepligard; struct MidgardRepligardClass; MidgardRepligard * midgard_repligard_new (MidgardConnection *mgd
); gboolean midgard_repligard_create_object_info (MidgardRepligard *self
,MidgardObject *object
,GError **error
); gboolean midgard_repligard_update_object_info (MidgardRepligard *self
,MidgardObject *object
,guint action
,GError **error
);
"action" guint : Read / Write "reference" gchar* : Read / Write "type" gchar* : Read / Write "workspace" guint : Read / Write "workspaceoid" guint : Read / Write
MidgardRepligard * midgard_repligard_new (MidgardConnection *mgd
);
Simplified constructor.
|
MidgardConnection instance |
Returns : |
MidgardRepligard instance |
Since 10.05.5
gboolean midgard_repligard_create_object_info (MidgardRepligard *self
,MidgardObject *object
,GError **error
);
For given object
, creates replication record info.
|
MidgardRepligard instance |
|
MidgardObject to create record info |
|
pointer to store error |
Returns : |
TRUE on success, FALSE otherwise |
Since 10.05.5
gboolean midgard_repligard_update_object_info (MidgardRepligard *self
,MidgardObject *object
,guint action
,GError **error
);
For given object
, updates replication record info.
|
MidgardRepligard instance |
|
MidgardObject to create record info |
|
action to set |
|
pointer to store error |
Returns : |
TRUE on success, FALSE otherwise |
Since 10.05.5