Get_Modi.sgm 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!-- $XConsortium: Get_Modi.sgm /main/5 1996/08/30 14:50:32 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.MAN290.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN290.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Get_Modified</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Get_Modified</Symbol></RefName>
  17. <RefPurpose>ask whether an entity has been modified
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Get_Modi.sgm /main/5 1996/08/30 14:50:32 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <Synopsis>[<Symbol Role="Variable">file</Symbol>] Get_Modified(in <Emphasis>type ID</Emphasis>,
  28. out boolean <Emphasis>modified</Emphasis>);
  29. </Synopsis>
  30. </RefSynopsisDiv>
  31. <RefSect1>
  32. <Title>DESCRIPTION</Title>
  33. <Para>The
  34. <Symbol Role="Message">Get_Modified</Symbol> request
  35. asks whether any tool has modified a volatile,
  36. non-shared (for example, in-memory) representation of the persistent
  37. state of an entity (such as a file) with the intention of
  38. eventually making that representation persistent.
  39. </Para>
  40. <Para>Thus, a tool should register a dynamic pattern for this request
  41. when it has modified an entity of possible shared interest.
  42. </Para>
  43. <Para>The
  44. <Emphasis>ID</Emphasis> argument is the identity of the persistent entity being asked about.
  45. When its
  46. <Symbol Role="Variable">type</Symbol> is
  47. <Literal>File</Literal>, then
  48. <Emphasis>ID</Emphasis> is unset (in other words, has a value of
  49. <Literal>(char *)0</Literal>), and it refers to the file or directory
  50. named in the message's file attribute.
  51. </Para>
  52. <Para>The
  53. <Emphasis>modified</Emphasis> argument
  54. argument is a
  55. Boolean value indicating whether a volatile, non-shared
  56. (for example, in-memory) representation of the entity has been
  57. modified with the intention of eventually making that
  58. representation persistent.
  59. </Para>
  60. </RefSect1>
  61. <RefSect1>
  62. <Title>ERRORS</Title>
  63. <Para>The ToolTalk service may return one of the following errors
  64. in processing the
  65. <Symbol Role="Message">Get_Modified</Symbol> request:
  66. </Para>
  67. <VariableList>
  68. <VarListEntry>
  69. <Term>TT_ERR_NO_MATCH</Term>
  70. <ListItem>
  71. <Para>Since no handler could be found, the entity in question can be assumed
  72. not to be modified.
  73. </Para>
  74. </ListItem>
  75. </VarListEntry>
  76. </VariableList>
  77. </RefSect1>
  78. <RefSect1>
  79. <Title>APPLICATION USAGE</Title>
  80. <Para>The
  81. &cdeman.ttdt.file.join;, function
  82. can be used to register for,
  83. and transparently process, the
  84. <Symbol Role="Message">Get_Modified</Symbol> request.
  85. </Para>
  86. <Para>The
  87. <Symbol Role="Message">Get_Modified</Symbol> request can be sent with
  88. &cdeman.ttdt.file.request;; &cdeman.ttdt.Get.Modified;, can send the
  89. <Symbol Role="Message">Get_Modified</Symbol> request and block on the reply.
  90. </Para>
  91. </RefSect1>
  92. <RefSect1>
  93. <Title>SEE ALSO</Title>
  94. <Para>&cdeman.ttdt.file.join;, &cdeman.ttdt.file.request;, &cdeman.ttdt.file.request;, &cdeman.ttdt.Get.Modified;; <Emphasis>Set_Modified</Emphasis> request.
  95. </Para>
  96. </RefSect1>
  97. </RefEntry>
  98. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->