49
48
%%%-----------------------------------------------------------------
50
49
-record(state, {mod, pid, child_state, name}).
54
Result :: {ok, Pid} | ignore | {error, Error},
52
58
start_link(Mod, StartArgs) ->
53
59
gen_server:start_link(supervisor_bridge, [Mod, StartArgs, self], []).
62
SupBridgeName :: {local, Name} | {global, Name},
66
Result :: {ok, Pid} | ignore | {error, Error},
55
70
start_link(Name, Mod, StartArgs) ->
56
71
gen_server:start_link(Name, supervisor_bridge, [Mod, StartArgs, Name], []).