DbReload.sgm 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!-- $XConsortium: DbReload.sgm /main/7 1996/08/31 14:57:09 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN23.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN23.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtDbReloadNotify</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtDbReloadNotify</Function></RefName>
  17. <RefPurpose>reload the Dt actions and data typing services database
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  22. <!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  23. <!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  24. <!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  25. <!-- *************************************************************************-->
  26. <RefSynopsisDiv>
  27. <FuncSynopsis Remap="ANSI">
  28. <FuncSynopsisInfo>#include &lt;Dt/Action.h>
  29. </FuncSynopsisInfo>
  30. <FuncDef>void <Function>DtDbReloadNotify</Function></FuncDef>
  31. <ParamDef>DtDbReloadCallbackProc <Parameter>callback_proc</Parameter></ParamDef>
  32. <ParamDef>XtPointer <Parameter>client_data</Parameter></ParamDef>
  33. </FuncSynopsis>
  34. </RefSynopsisDiv>
  35. <RefSect1>
  36. <Title>DESCRIPTION</Title>
  37. <Para>The
  38. <Function>DtDbReloadNotify</Function> function registers an application callback function that is called
  39. whenever the actions and data types database needs to be reloaded;
  40. the conditions that trigger this callback are implementation-dependent.
  41. The
  42. <Emphasis>callback_proc</Emphasis> must flush any actions and data type information that the
  43. application has cached and then call
  44. &cdeman.DtDbLoad; to reload the database.
  45. The
  46. <Symbol Role="Variable">client_data</Symbol> argument passes additional application information
  47. to the callback routine.
  48. </Para>
  49. </RefSect1>
  50. <RefSect1>
  51. <Title>RETURN VALUE</Title>
  52. <Para>The
  53. <Function>DtDbReloadNotify</Function> function returns no value.
  54. </Para>
  55. <Para>If errors are encountered when reading the database files, error messages are
  56. written to the user's errorlog file (<Filename>$HOME/.dt/errorlog</Filename>).
  57. Records containing errors are not incorporated into the internal database.
  58. </Para>
  59. </RefSect1>
  60. <RefSect1>
  61. <Title>SEE ALSO</Title>
  62. <Para>&cdeman.Dt.Action.h;, &cdeman.DtDbLoad;, <![ %CDE.C.CDE; [&cdeman.dtactionfile;, &cdeman.dtdtfile;. ]]><![ %CDE.C.XO; [<XRef Linkend="XCDI.ACTI.anch.3" Role="2">, <XRef Linkend="XCDI.M4DTS.anch.1" Role="3">. ]]></Para>
  63. </RefSect1>
  64. </RefEntry>
  65. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->