Use return value of ecdev_open(); thanks to Patrick Bruenn.
/* $Id$ */
digraph pdo_read {
node [fontname="Helvetica"]
edge [fontname="Helvetica", fontsize="12"]
start
start -> action_next_sync [label="First SM", weight=5]
action_next_sync [shape=point,label=""]
action_next_sync -> pdo_count [weight=5]
action_next_sync -> end
pdo_count
pdo_count -> action_next_pdo [weight=5]
action_next_pdo [shape=point,label=""]
action_next_pdo -> pdo [label="Next PDO", weight=5]
action_next_pdo -> action_next_sync [label="No more PDOs"]
pdo
pdo -> pdo_entries [weight=5]
pdo_entries
pdo_entries -> action_next_pdo
end
}