Forward Deklarationen in der fhem.pl

Begonnen von C_Herrmann, 15 März 2014, 21:36:42

Vorheriges Thema - Nächstes Thema

C_Herrmann

Hallo,

ich habe mir mal die Mühe gemacht, alle Subs aus der fhem.pl in eine Liste zusammen zu stellen. Die meisten Funktionen sind bereits in den "Forward declarations" enthalten. Aber einige fehlen dort. Ich habe die fehlenden Deklarationen in den entsprechenden Abschnitt eingefügt. Basis ist die "$Id: fhem.pl 5197 2014-03-10 21:07:30Z rudolfkoenig $".

Keine Forward declaration:
Debug($)
DoSet(@)
InternalVal($$$)
IsIoDummy($)
OldTimestamp($)
OldValue($)
ReadingsNum($$$)
ReadingsTimestamp($$$)
Value($)
WakeUpFn($)
addToWritebuffer($$)
computeClientArray($$)
concatc($$$)
createNtfyHash()
fhemTimeGm($$$$$$)
fhemTimeLocal($$$$$$)
fhemTzOffset($)
getAllAttr($)
getGetters($)
getGettersForInterface($)
getInterfaces($)
getReadingsForInterface($)
getSetters($)
getSettersForInterface($)
myrename($$)
notifyRegexpChanged($$)

CommandDeleteReading($$)
CommandDisplayAttr($$)
CommandSetReading($$)
CommandVersion($$)


Sub existiert nicht:
fhz($)

Abschnitt aus der fhem.pl mit eingefügten Subs:
##################################################
# Forward declarations
#
sub AddDuplicate($$);
sub AnalyzeCommand($$;$);
sub AnalyzeCommandChain($$;$);
sub AnalyzeInput($);
sub AnalyzePerlCommand($$);
sub AssignIoPort($;$);
sub AttrVal($$$);
sub CallFn(@);
sub CheckDuplicate($$@);
sub CommandChain($$);
sub Debug($);
sub DoSet(@);
sub Dispatch($$$);
sub DoTrigger($$@);
sub EvalSpecials($%);
sub FmtDateTime($);
sub FmtTime($);
sub GetLogLevel(@);
sub GetTimeSpec($);
sub GlobalAttr($$$$);
sub HandleArchiving($);
sub HandleTimeout();
sub IOWrite($@);
sub InternalTimer($$$$);
sub InternalVal($$$);
sub IsDisabled($);
sub IsDummy($);
sub IsIgnored($);
sub IsIoDummy($);
sub LoadModule($);
sub Log($$);
sub Log3($$$);
sub OldTimestamp($);
sub OldValue($);
sub OpenLogfile($);
sub PrintHash($$);
sub ReadingsNum($$$);
sub ReadingsTimestamp($$$);
sub ReadingsVal($$$);
sub RemoveInternalTimer($);
sub ReplaceEventMap($$$);
sub ResolveDateWildcards($@);
sub SemicolonEscape($);
sub SignalHandling();
sub TimeNow();
sub Value($);
sub WakeUpFn($);
sub WriteStatefile();
sub XmlEscape($);
sub addEvent($$);
sub addToAttrList($);
sub addToWritebuffer($$);
sub attrSplit($);
sub computeClientArray($$);
sub concatc($$$);
sub createInterfaceDefinitions();
sub createNtfyHash();
sub devspec2array($);
sub doGlobalDef($);
sub escapeLogLine($);
sub evalStateFormat($);
sub fhem($@);
sub fhemTimeGm($$$$$$);
sub fhemTimeLocal($$$$$$);
sub fhemTzOffset($);
sub getAllAttr($);
sub getAllGets($);
sub getAllSets($);
sub getGetters($);
sub getGettersForInterface($);
sub getInterfaces($);
sub getReadingsForInterface($);
sub getSetters($);
sub getSettersForInterface($);
sub latin1ToUtf8($);
sub myrename($$);
sub notifyRegexpChanged($$);
sub readingsBeginUpdate($);
sub readingsBulkUpdate($$$@);
sub readingsEndUpdate($$);
sub readingsSingleUpdate($$$$);
sub redirectStdinStdErr();
sub rejectDuplicate($$$);
sub setGlobalAttrBeforeFork($);
sub setReadingsVal($$$$);
sub utf8ToLatin1($);

sub CommandAttr($$);
sub CommandDefaultAttr($$);
sub CommandDefine($$);
sub CommandDelete($$);
sub CommandDeleteAttr($$);
sub CommandDeleteReading($$);
sub CommandDisplayAttr($$);
sub CommandGet($$);
sub CommandHelp($$);
sub CommandIOWrite($$);
sub CommandInclude($$);
sub CommandInform($$);
sub CommandList($$);
sub CommandModify($$);
sub CommandQuit($$);
sub CommandReload($$);
sub CommandRename($$);
sub CommandRereadCfg($$);
sub CommandSave($$);
sub CommandSet($$);
sub CommandSetReading($$);
sub CommandSetstate($$);
sub CommandShutdown($$);
sub CommandSleep($$);
sub CommandTrigger($$);
sub CommandVersion($$);


@Rudi: Kannst Du das bitte in die fhem.pl übernehmen? Dann wäre die Suche nach Funktionen etwas einfacher.

Gruß,
Christian
FHEM auf RPi, CUL868, FHT, UNIRoll, verschiedene FS20 Komponenten, IT, Zigbee zum Testen

rudolfkoenig