Current File : //usr/local/apps/share/doc/freetds/reference/a00388_ga676c4dee6522815b16fdc8e448e43590_icgraph.svg |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
-->
<!-- Title: read_and_convert Pages: 1 -->
<svg width="734pt" height="401pt"
viewBox="0.00 0.00 734.00 400.73" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 396.727)">
<title>read_and_convert</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-396.727 730,-396.727 730,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node"><title>Node1</title>
<polygon fill="#bfbfbf" stroke="black" points="0,-97.2269 0,-116.227 104,-116.227 104,-97.2269 0,-97.2269"/>
<text text-anchor="middle" x="52" y="-104.227" font-family="Helvetica,sans-Serif" font-size="10.00">read_and_convert</text>
</g>
<!-- Node2 -->
<g id="node2" class="node"><title>Node2</title>
<g id="a_node2"><a xlink:href="a00388.html#ga90f080e6e9448feac15dee1370d66802" target="_top" xlink:title="Fetch a string from the wire. ">
<polygon fill="white" stroke="black" points="151,-126.227 151,-145.227 235,-145.227 235,-126.227 151,-126.227"/>
<text text-anchor="middle" x="193" y="-133.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_get_string</text>
</a>
</g>
</g>
<!-- Node1->Node2 -->
<g id="edge1" class="edge"><title>Node1->Node2</title>
<path fill="none" stroke="midnightblue" d="M108.926,-118.395C122.928,-121.316 137.696,-124.397 150.833,-127.138"/>
<polygon fill="midnightblue" stroke="midnightblue" points="109.403,-114.919 98.899,-116.303 107.973,-121.772 109.403,-114.919"/>
</g>
<!-- Node18 -->
<g id="node18" class="node"><title>Node18</title>
<g id="a_node18"><a xlink:href="a00388.html#ga8d214089b6e97fc0da5e0be09f216d73" target="_top" xlink:title="Fetch character data the wire. ">
<polygon fill="white" stroke="black" points="140,-69.2269 140,-88.2269 246,-88.2269 246,-69.2269 140,-69.2269"/>
<text text-anchor="middle" x="193" y="-76.2269" font-family="Helvetica,sans-Serif" font-size="10.00">tds_get_char_data</text>
</a>
</g>
</g>
<!-- Node1->Node18 -->
<g id="edge20" class="edge"><title>Node1->Node18</title>
<path fill="none" stroke="midnightblue" d="M110.358,-95.1728C121.805,-92.8668 133.707,-90.4694 144.767,-88.2415"/>
<polygon fill="midnightblue" stroke="midnightblue" points="109.559,-91.7633 100.447,-97.1692 110.941,-98.6255 109.559,-91.7633"/>
</g>
<!-- Node3 -->
<g id="node3" class="node"><title>Node3</title>
<g id="a_node3"><a xlink:href="a00330.html#a84e17808683ba2dd956e811a42e23176" target="_top" xlink:title="Write data to wire. ">
<polygon fill="white" stroke="black" points="295.5,-297.227 295.5,-316.227 387.5,-316.227 387.5,-297.227 295.5,-297.227"/>
<text text-anchor="middle" x="341.5" y="-304.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_generic_put</text>
</a>
</g>
</g>
<!-- Node2->Node3 -->
<g id="edge2" class="edge"><title>Node2->Node3</title>
<path fill="none" stroke="midnightblue" d="M200.092,-155.152C211.18,-187.38 237.693,-251.896 282,-287.727 286.816,-291.621 292.452,-294.727 298.29,-297.2"/>
<polygon fill="midnightblue" stroke="midnightblue" points="203.38,-153.946 196.92,-145.548 196.733,-156.141 203.38,-153.946"/>
</g>
<!-- Node4 -->
<g id="node4" class="node"><title>Node4</title>
<g id="a_node4"><a xlink:href="a00388.html#gafae08056186b143f3ef1399307dc9be7" target="_top" xlink:title="Reads a string from wire and put in a DSTR. ">
<polygon fill="white" stroke="black" points="303.5,-259.227 303.5,-278.227 379.5,-278.227 379.5,-259.227 303.5,-259.227"/>
<text text-anchor="middle" x="341.5" y="-266.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_dstr_get</text>
</a>
</g>
</g>
<!-- Node2->Node4 -->
<g id="edge3" class="edge"><title>Node2->Node4</title>
<path fill="none" stroke="midnightblue" d="M211.998,-152.066C242.79,-180.021 304.674,-236.202 329.664,-258.89"/>
<polygon fill="midnightblue" stroke="midnightblue" points="214.293,-149.422 204.536,-145.292 209.587,-154.605 214.293,-149.422"/>
</g>
<!-- Node11 -->
<g id="node11" class="node"><title>Node11</title>
<g id="a_node11"><a xlink:href="a00390.html#gafb26aba5d935e40b87b95e21a5185848" target="_top" xlink:title="Reads a string from wire in a new allocated buffer. ">
<polygon fill="white" stroke="black" points="285.5,-126.227 285.5,-145.227 397.5,-145.227 397.5,-126.227 285.5,-126.227"/>
<text text-anchor="middle" x="341.5" y="-133.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_alloc_get_string</text>
</a>
</g>
</g>
<!-- Node2->Node11 -->
<g id="edge11" class="edge"><title>Node2->Node11</title>
<path fill="none" stroke="midnightblue" d="M245.339,-135.727C258.296,-135.727 272.261,-135.727 285.395,-135.727"/>
<polygon fill="midnightblue" stroke="midnightblue" points="245.198,-132.227 235.198,-135.727 245.198,-139.227 245.198,-132.227"/>
</g>
<!-- Node17 -->
<g id="node17" class="node"><title>Node17</title>
<g id="a_node17"><a xlink:href="a00390.html#ga5cfc0340d8d717e67f60037e029b2142" target="_top" xlink:title="tds_process_dynamic() finds the element of the dyns array for the id ">
<polygon fill="white" stroke="black" points="282,-88.2269 282,-107.227 401,-107.227 401,-88.2269 282,-88.2269"/>
<text text-anchor="middle" x="341.5" y="-95.2269" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_dynamic</text>
</a>
</g>
</g>
<!-- Node2->Node17 -->
<g id="edge18" class="edge"><title>Node2->Node17</title>
<path fill="none" stroke="midnightblue" d="M240.695,-123.615C261.099,-118.322 284.681,-112.206 303.798,-107.247"/>
<polygon fill="midnightblue" stroke="midnightblue" points="239.769,-120.239 230.968,-126.138 241.527,-127.015 239.769,-120.239"/>
</g>
<!-- Node5 -->
<g id="node5" class="node"><title>Node5</title>
<g id="a_node5"><a xlink:href="a00390.html#ga22c7f413d43fc0d511e122a3de389166" target="_top" xlink:title="Reads column information. ">
<polygon fill="white" stroke="red" points="452,-373.227 452,-392.227 563,-392.227 563,-373.227 452,-373.227"/>
<text text-anchor="middle" x="507.5" y="-380.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_colinfo</text>
</a>
</g>
</g>
<!-- Node4->Node5 -->
<g id="edge4" class="edge"><title>Node4->Node5</title>
<path fill="none" stroke="midnightblue" d="M388.821,-279.687C393.221,-281.895 397.381,-284.545 401,-287.727 429.069,-312.406 408.357,-339.716 437,-363.727 441.601,-367.584 446.921,-370.663 452.527,-373.119"/>
<polygon fill="midnightblue" stroke="midnightblue" points="390.127,-276.439 379.554,-275.749 387.389,-282.881 390.127,-276.439"/>
</g>
<!-- Node6 -->
<g id="node6" class="node"><title>Node6</title>
<g id="a_node6"><a xlink:href="a00390.html#ga07cee55fd522cca16fb59b7a8f0b1376" target="_top" xlink:title="Reads data information from wire. ">
<polygon fill="white" stroke="red" points="453.5,-335.227 453.5,-354.227 561.5,-354.227 561.5,-335.227 453.5,-335.227"/>
<text text-anchor="middle" x="507.5" y="-342.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds7_get_data_info</text>
</a>
</g>
</g>
<!-- Node4->Node6 -->
<g id="edge5" class="edge"><title>Node4->Node6</title>
<path fill="none" stroke="midnightblue" d="M388.957,-281.391C393.159,-283.25 397.242,-285.354 401,-287.727 420.671,-300.148 417.042,-313.773 437,-325.727 443.439,-329.583 450.677,-332.676 457.986,-335.15"/>
<polygon fill="midnightblue" stroke="midnightblue" points="390.232,-278.131 379.645,-277.701 387.653,-284.639 390.232,-278.131"/>
</g>
<!-- Node7 -->
<g id="node7" class="node"><title>Node7</title>
<g id="a_node7"><a xlink:href="a00390.html#gad9b6b86f48be077fb44ac603845a0c27" target="_top" xlink:title="Reads data metadata from wire. ">
<polygon fill="white" stroke="red" points="456.5,-297.227 456.5,-316.227 558.5,-316.227 558.5,-297.227 456.5,-297.227"/>
<text text-anchor="middle" x="507.5" y="-304.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_get_data_info</text>
</a>
</g>
</g>
<!-- Node4->Node7 -->
<g id="edge6" class="edge"><title>Node4->Node7</title>
<path fill="none" stroke="midnightblue" d="M389.643,-279.65C413.578,-285.196 442.382,-291.87 465.404,-297.205"/>
<polygon fill="midnightblue" stroke="midnightblue" points="390.246,-276.197 379.714,-277.35 388.666,-283.017 390.246,-276.197"/>
</g>
<!-- Node8 -->
<g id="node8" class="node"><title>Node8</title>
<g id="a_node8"><a xlink:href="a00390.html#gabe2bdd5a41ce067cb31aef18ff81cb1c" target="_top" xlink:title="tds5_process_result2() is the new TDS 5.0 result set processing routine. ">
<polygon fill="white" stroke="red" points="448.5,-259.227 448.5,-278.227 566.5,-278.227 566.5,-259.227 448.5,-259.227"/>
<text text-anchor="middle" x="507.5" y="-266.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds5_process_result2</text>
</a>
</g>
</g>
<!-- Node4->Node8 -->
<g id="edge7" class="edge"><title>Node4->Node8</title>
<path fill="none" stroke="midnightblue" d="M389.802,-268.727C408.027,-268.727 429.056,-268.727 448.2,-268.727"/>
<polygon fill="midnightblue" stroke="midnightblue" points="389.714,-265.227 379.714,-268.727 389.714,-272.227 389.714,-265.227"/>
</g>
<!-- Node10 -->
<g id="node10" class="node"><title>Node10</title>
<g id="a_node10"><a xlink:href="a00390.html#gae688b515631141acfbc41bbb91c8b921" target="_top" xlink:title="Process new TDS 5.0 token for describing output parameters. ">
<polygon fill="white" stroke="red" points="437,-221.227 437,-240.227 578,-240.227 578,-221.227 437,-221.227"/>
<text text-anchor="middle" x="507.5" y="-228.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds5_process_dyn_result2</text>
</a>
</g>
</g>
<!-- Node4->Node10 -->
<g id="edge9" class="edge"><title>Node4->Node10</title>
<path fill="none" stroke="midnightblue" d="M389.643,-257.803C413.578,-252.258 442.382,-245.583 465.404,-240.249"/>
<polygon fill="midnightblue" stroke="midnightblue" points="388.666,-254.437 379.714,-260.104 390.246,-261.256 388.666,-254.437"/>
</g>
<!-- Node9 -->
<g id="node9" class="node"><title>Node9</title>
<g id="a_node9"><a xlink:href="a00390.html#gabfc9de1d1fe718818caf63a4be4035a6" target="_top" xlink:title="process all streams. ">
<polygon fill="white" stroke="red" points="614,-126.227 614,-145.227 726,-145.227 726,-126.227 614,-126.227"/>
<text text-anchor="middle" x="670" y="-133.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_tokens</text>
</a>
</g>
</g>
<!-- Node8->Node9 -->
<g id="edge8" class="edge"><title>Node8->Node9</title>
<path fill="none" stroke="midnightblue" d="M568.118,-255.23C571.567,-253.599 574.891,-251.772 578,-249.727 620.521,-221.747 652.37,-167.427 664.092,-145.377"/>
<polygon fill="midnightblue" stroke="midnightblue" points="566.661,-252.045 558.763,-259.107 569.341,-258.512 566.661,-252.045"/>
</g>
<!-- Node10->Node9 -->
<g id="edge10" class="edge"><title>Node10->Node9</title>
<path fill="none" stroke="midnightblue" d="M564.263,-217.81C569.012,-216.016 573.655,-213.996 578,-211.727 612.118,-193.907 644.948,-161.568 660.167,-145.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="562.755,-214.627 554.431,-221.181 565.025,-221.248 562.755,-214.627"/>
</g>
<!-- Node12 -->
<g id="node12" class="node"><title>Node12</title>
<g id="a_node12"><a xlink:href="a00390.html#ga93945b42d45ee28ae1296b35a1c1e9bb" target="_top" xlink:title="tds_process_login_tokens() is called after sending the login packet to the server. ">
<polygon fill="white" stroke="black" points="437.5,-183.227 437.5,-202.227 577.5,-202.227 577.5,-183.227 437.5,-183.227"/>
<text text-anchor="middle" x="507.5" y="-190.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_login_tokens</text>
</a>
</g>
</g>
<!-- Node11->Node12 -->
<g id="edge12" class="edge"><title>Node11->Node12</title>
<path fill="none" stroke="midnightblue" d="M373.662,-149.314C391.924,-157.009 415.548,-166.508 437,-173.727 447.077,-177.118 458.125,-180.352 468.387,-183.159"/>
<polygon fill="midnightblue" stroke="midnightblue" points="374.952,-146.059 364.38,-145.363 372.211,-152.5 374.952,-146.059"/>
</g>
<!-- Node13 -->
<g id="node13" class="node"><title>Node13</title>
<g id="a_node13"><a xlink:href="a00390.html#gaeaaed2ea1d8c827da1a0f5b419524ae1" target="_top" xlink:title="Reads list of names (usually table names) ">
<polygon fill="white" stroke="red" points="455.5,-145.227 455.5,-164.227 559.5,-164.227 559.5,-145.227 455.5,-145.227"/>
<text text-anchor="middle" x="507.5" y="-152.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds_read_namelist</text>
</a>
</g>
</g>
<!-- Node11->Node13 -->
<g id="edge13" class="edge"><title>Node11->Node13</title>
<path fill="none" stroke="midnightblue" d="M407.826,-143.295C423.669,-145.131 440.379,-147.066 455.453,-148.813"/>
<polygon fill="midnightblue" stroke="midnightblue" points="407.902,-139.781 397.566,-142.106 407.097,-146.734 407.902,-139.781"/>
</g>
<!-- Node14 -->
<g id="node14" class="node"><title>Node14</title>
<g id="a_node14"><a xlink:href="a00390.html#ga7482b5730d880fcedbe9fcd609a550ce" target="_top" xlink:title="Reads table names for TDS 7.1+. ">
<polygon fill="white" stroke="red" points="439,-107.227 439,-126.227 576,-126.227 576,-107.227 439,-107.227"/>
<text text-anchor="middle" x="507.5" y="-114.227" font-family="Helvetica,sans-Serif" font-size="10.00">tds71_read_table_names</text>
</a>
</g>
</g>
<!-- Node11->Node14 -->
<g id="edge14" class="edge"><title>Node11->Node14</title>
<path fill="none" stroke="midnightblue" d="M407.648,-128.179C417.877,-126.994 428.472,-125.767 438.757,-124.575"/>
<polygon fill="midnightblue" stroke="midnightblue" points="407.097,-124.72 397.566,-129.347 407.902,-131.673 407.097,-124.72"/>
</g>
<!-- Node15 -->
<g id="node15" class="node"><title>Node15</title>
<g id="a_node15"><a xlink:href="a00390.html#ga3e1b4df4410a86a563a8c155e7799720" target="_top" xlink:title="tds_process_env_chg() when ever certain things change on the server, such as database, character set, language, or block size. ">
<polygon fill="white" stroke="red" points="447,-69.2269 447,-88.2269 568,-88.2269 568,-69.2269 447,-69.2269"/>
<text text-anchor="middle" x="507.5" y="-76.2269" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_env_chg</text>
</a>
</g>
</g>
<!-- Node11->Node15 -->
<g id="edge15" class="edge"><title>Node11->Node15</title>
<path fill="none" stroke="midnightblue" d="M385.035,-122.864C390.461,-120.946 395.897,-118.883 401,-116.727 417.665,-109.684 420.174,-104.374 437,-97.7269 446.074,-94.142 456.071,-90.9777 465.586,-88.3107"/>
<polygon fill="midnightblue" stroke="midnightblue" points="383.698,-119.621 375.354,-126.15 385.949,-126.25 383.698,-119.621"/>
</g>
<!-- Node16 -->
<g id="node16" class="node"><title>Node16</title>
<g id="a_node16"><a xlink:href="a00390.html#ga65a2316369529731732f200c190d05d6" target="_top" xlink:title="tds_process_info() is called for INFO, ERR, or EED tokens and is responsible for calling the CLI's me...">
<polygon fill="white" stroke="red" points="458.5,-31.2269 458.5,-50.2269 556.5,-50.2269 556.5,-31.2269 458.5,-31.2269"/>
<text text-anchor="middle" x="507.5" y="-38.2269" font-family="Helvetica,sans-Serif" font-size="10.00">tds_process_info</text>
</a>
</g>
</g>
<!-- Node11->Node16 -->
<g id="edge16" class="edge"><title>Node11->Node16</title>
<path fill="none" stroke="midnightblue" d="M393.534,-121.67C396.158,-120.182 398.668,-118.539 401,-116.727 424.657,-98.3381 412.916,-77.5525 437,-59.7269 443.334,-55.0386 450.76,-51.5071 458.356,-48.8471"/>
<polygon fill="midnightblue" stroke="midnightblue" points="391.746,-118.647 384.273,-126.158 394.799,-124.947 391.746,-118.647"/>
</g>
<!-- Node16->Node9 -->
<g id="edge17" class="edge"><title>Node16->Node9</title>
<path fill="none" stroke="midnightblue" d="M564.263,-53.6441C569.012,-55.4376 573.655,-57.4575 578,-59.7269 612.118,-77.5472 644.948,-109.886 660.167,-126.023"/>
<polygon fill="midnightblue" stroke="midnightblue" points="565.025,-50.2055 554.431,-50.2732 562.755,-56.8271 565.025,-50.2055"/>
</g>
<!-- Node17->Node9 -->
<g id="edge19" class="edge"><title>Node17->Node9</title>
<path fill="none" stroke="midnightblue" d="M393.534,-83.6702C396.158,-82.182 398.668,-80.5393 401,-78.7269 424.657,-60.3381 410.759,-36.1901 437,-21.7269 491.882,8.5226 521.533,5.44985 578,-21.7269 624.322,-44.0209 654.401,-102.641 664.87,-125.958"/>
<polygon fill="midnightblue" stroke="midnightblue" points="391.746,-80.6474 384.273,-88.1585 394.799,-86.9466 391.746,-80.6474"/>
</g>
<!-- Node19 -->
<g id="node19" class="node"><title>Node19</title>
<g id="a_node19"><a xlink:href="a00330.html#abac4d689e0e31e80587f89247c6395a4" target="_top" xlink:title="Read a data from wire. ">
<polygon fill="white" stroke="black" points="295,-50.2269 295,-69.2269 388,-69.2269 388,-50.2269 295,-50.2269"/>
<text text-anchor="middle" x="341.5" y="-57.2269" font-family="Helvetica,sans-Serif" font-size="10.00">tds_generic_get</text>
</a>
</g>
</g>
<!-- Node18->Node19 -->
<g id="edge21" class="edge"><title>Node18->Node19</title>
<path fill="none" stroke="midnightblue" d="M256.323,-70.644C269.282,-68.9633 282.707,-67.2222 294.928,-65.6373"/>
<polygon fill="midnightblue" stroke="midnightblue" points="255.53,-67.2175 246.063,-71.9747 256.43,-74.1594 255.53,-67.2175"/>
</g>
</g>
</svg>