<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>I wonder if I can have an interactive exception in libparted.</p>
<p>As I know, parted is composed of libparted + some front end.</p>
<p>libparted will be compiled into .so file and parted will be
compiled from front end</p>
<p>files, linked with this .so file. (If I missed something, please
so kind let me know.)</p>
<p><br>
</p>
<p>Now I want to have an interactive exception in libparted.</p>
<p>But the point is: the exception messages should be different in
script mode and interactive mode.</p>
<p>Now I have to adjudge the mode status from the input from front
end. I tried for a while but I can</p>
<p>not make it. I do it as following:</p>
<p>add global function in <b>parted.c</b> as well as <b>parted.in.h</b>
and try to make.</p>
<p>But it fails always. It seems this is not good. <br>
</p>
<p><br>
</p>
<p>I am not so familiar with framework of parted. Just need your
help.<br>
</p>
<p>I just want to ask what I have missed. And is it possible to
realize what I mentioned above.</p>
<p>Or do you have a better idea?<br>
</p>
<p><br>
</p>
<br>
<div class="moz-signature">-- <br>
Best regards. Wang Dong</div>
</body>
</html>