| 1 | /* ======================================================================== |
| 2 | * PlantUML : a free UML diagram generator |
| 3 | * ======================================================================== |
| 4 | * |
| 5 | * Project Info: http://plantuml.com |
| 6 | * |
| 7 | * If you like this project or if you find it useful, you can support us at: |
| 8 | * |
| 9 | * http://plantuml.com/patreon (only 1$ per month!) |
| 10 | * http://plantuml.com/paypal |
| 11 | * |
| 12 | * This file is part of Smetana. |
| 13 | * Smetana is a partial translation of Graphviz/Dot sources from C to Java. |
| 14 | * |
| 15 | * (C) Copyright 2009-2020, Arnaud Roques |
| 16 | * |
| 17 | * This translation is distributed under the same Licence as the original C program: |
| 18 | * |
| 19 | ************************************************************************* |
| 20 | * Copyright (c) 2011 AT&T Intellectual Property |
| 21 | * All rights reserved. This program and the accompanying materials |
| 22 | * are made available under the terms of the Eclipse Public License v1.0 |
| 23 | * which accompanies this distribution, and is available at |
| 24 | * http://www.eclipse.org/legal/epl-v10.html |
| 25 | * |
| 26 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
| 27 | ************************************************************************* |
| 28 | * |
| 29 | * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC |
| 30 | * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0] |
| 31 | * |
| 32 | * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES |
| 33 | * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. |
| 34 | * |
| 35 | * You may obtain a copy of the License at |
| 36 | * |
| 37 | * http://www.eclipse.org/legal/epl-v10.html |
| 38 | * |
| 39 | * Unless required by applicable law or agreed to in writing, software |
| 40 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 41 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 42 | * See the License for the specific language governing permissions and |
| 43 | * limitations under the License. |
| 44 | * |
| 45 | */ |
| 46 | package gen.lib.gvc; |
| 47 | import static smetana.core.Macro.UNSUPPORTED; |
| 48 | |
| 49 | public class gvjobs__c { |
| 50 | //1 2digov3edok6d5srhgtlmrycs |
| 51 | // extern lt_symlist_t lt_preloaded_symbols[] |
| 52 | |
| 53 | |
| 54 | //1 baedz5i9est5csw3epz3cv7z |
| 55 | // typedef Ppoly_t Ppolyline_t |
| 56 | |
| 57 | |
| 58 | //1 9k44uhd5foylaeoekf3llonjq |
| 59 | // extern Dtmethod_t* Dtset |
| 60 | |
| 61 | |
| 62 | //1 1ahfywsmzcpcig2oxm7pt9ihj |
| 63 | // extern Dtmethod_t* Dtbag |
| 64 | |
| 65 | |
| 66 | //1 anhghfj3k7dmkudy2n7rvt31v |
| 67 | // extern Dtmethod_t* Dtoset |
| 68 | |
| 69 | |
| 70 | //1 5l6oj1ux946zjwvir94ykejbc |
| 71 | // extern Dtmethod_t* Dtobag |
| 72 | |
| 73 | |
| 74 | //1 2wtf222ak6cui8cfjnw6w377z |
| 75 | // extern Dtmethod_t* Dtlist |
| 76 | |
| 77 | |
| 78 | //1 d1s1s6ibtcsmst88e3057u9r7 |
| 79 | // extern Dtmethod_t* Dtstack |
| 80 | |
| 81 | |
| 82 | //1 axa7mflo824p6fspjn1rdk0mt |
| 83 | // extern Dtmethod_t* Dtqueue |
| 84 | |
| 85 | |
| 86 | //1 ega812utobm4xx9oa9w9ayij6 |
| 87 | // extern Dtmethod_t* Dtdeque |
| 88 | |
| 89 | |
| 90 | //1 cyfr996ur43045jv1tjbelzmj |
| 91 | // extern Dtmethod_t* Dtorder |
| 92 | |
| 93 | |
| 94 | //1 wlofoiftbjgrrabzb2brkycg |
| 95 | // extern Dtmethod_t* Dttree |
| 96 | |
| 97 | |
| 98 | //1 12bds94t7voj7ulwpcvgf6agr |
| 99 | // extern Dtmethod_t* Dthash |
| 100 | |
| 101 | |
| 102 | //1 9lqknzty480cy7zsubmabkk8h |
| 103 | // extern Dtmethod_t _Dttree |
| 104 | |
| 105 | |
| 106 | //1 bvn6zkbcp8vjdhkccqo1xrkrb |
| 107 | // extern Dtmethod_t _Dthash |
| 108 | |
| 109 | |
| 110 | //1 9lidhtd6nsmmv3e7vjv9e10gw |
| 111 | // extern Dtmethod_t _Dtlist |
| 112 | |
| 113 | |
| 114 | //1 34ujfamjxo7xn89u90oh2k6f8 |
| 115 | // extern Dtmethod_t _Dtqueue |
| 116 | |
| 117 | |
| 118 | //1 3jy4aceckzkdv950h89p4wjc8 |
| 119 | // extern Dtmethod_t _Dtstack |
| 120 | |
| 121 | |
| 122 | //1 8dfqgf3u1v830qzcjqh9o8ha7 |
| 123 | // extern Agmemdisc_t AgMemDisc |
| 124 | |
| 125 | |
| 126 | //1 18k2oh2t6llfsdc5x0wlcnby8 |
| 127 | // extern Agiddisc_t AgIdDisc |
| 128 | |
| 129 | |
| 130 | //1 a4r7hi80gdxtsv4hdoqpyiivn |
| 131 | // extern Agiodisc_t AgIoDisc |
| 132 | |
| 133 | |
| 134 | //1 bnzt5syjb7mgeru19114vd6xx |
| 135 | // extern Agdisc_t AgDefaultDisc |
| 136 | |
| 137 | |
| 138 | //1 35y2gbegsdjilegaribes00mg |
| 139 | // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected |
| 140 | |
| 141 | |
| 142 | //1 c2rygslq6bcuka3awmvy2b3ow |
| 143 | // typedef Agsubnode_t Agnoderef_t |
| 144 | |
| 145 | |
| 146 | //1 xam6yv0dcsx57dtg44igpbzn |
| 147 | // typedef Dtlink_t Agedgeref_t |
| 148 | |
| 149 | |
| 150 | //1 1pjfdgts3f7oydy0y9jhjugta |
| 151 | // static GVJ_t *output_filename_job |
| 152 | |
| 153 | |
| 154 | //1 7y5n04mdy4v0ksvy1f8u1ufu1 |
| 155 | // static GVJ_t *output_langname_job |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | //3 39qttb09ieneoczohoe18m73o |
| 161 | // void gvjobs_output_filename(GVC_t * gvc, const char *name) |
| 162 | public static Object gvjobs_output_filename(Object... arg) { |
| 163 | UNSUPPORTED("3ryvg5oev9sja9lw3ofgqed7w"); // void gvjobs_output_filename(GVC_t * gvc, const char *name) |
| 164 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 165 | UNSUPPORTED("cv040o08cv8281cfqhv8854yq"); // if (!gvc->jobs) { |
| 166 | UNSUPPORTED("a9cgmkhzy1dikep3roojjbcte"); // output_filename_job = gvc->job = gvc->jobs = zmalloc(sizeof(GVJ_t)); |
| 167 | UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else { |
| 168 | UNSUPPORTED("d3hw0xdpchwiy1k2rcc44xv4j"); // if (!output_filename_job) { |
| 169 | UNSUPPORTED("36c32ldaxz6vogmj5nhf92h83"); // output_filename_job = gvc->jobs; |
| 170 | UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else { |
| 171 | UNSUPPORTED("485550438nef76qt5kg2ly349"); // if (!output_filename_job->next) { |
| 172 | UNSUPPORTED("5oixw6s3swg9hznwx4czokjbk"); // output_filename_job->next = zmalloc(sizeof(GVJ_t)); |
| 173 | UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } |
| 174 | UNSUPPORTED("b8inpu32tu6zqo000moq75wy0"); // output_filename_job = output_filename_job->next; |
| 175 | UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } |
| 176 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 177 | UNSUPPORTED("8rlxv3o0lru4utlh7jl0f0vue"); // output_filename_job->output_filename = name; |
| 178 | UNSUPPORTED("62fru6gff40i2nhkhk1o43tsh"); // output_filename_job->gvc = gvc; |
| 179 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 180 | |
| 181 | throw new UnsupportedOperationException(); |
| 182 | } |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | //3 4i5tkl55fx3u0wrjngy8rlrlf |
| 188 | // boolean gvjobs_output_langname(GVC_t * gvc, const char *name) |
| 189 | public static Object gvjobs_output_langname(Object... arg) { |
| 190 | UNSUPPORTED("7pknulb4k1s97jbz2490bhjil"); // boolean gvjobs_output_langname(GVC_t * gvc, const char *name) |
| 191 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 192 | UNSUPPORTED("cv040o08cv8281cfqhv8854yq"); // if (!gvc->jobs) { |
| 193 | UNSUPPORTED("bo2bep4t13b563p9bkmze288q"); // output_langname_job = gvc->job = gvc->jobs = zmalloc(sizeof(GVJ_t)); |
| 194 | UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else { |
| 195 | UNSUPPORTED("3llf13j0vc8xk1fxkw9pyxdby"); // if (!output_langname_job) { |
| 196 | UNSUPPORTED("8sydwjd6sltqbn798ugzschoj"); // output_langname_job = gvc->jobs; |
| 197 | UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else { |
| 198 | UNSUPPORTED("cyn28cpa3wbtakiskqjpzycm"); // if (!output_langname_job->next) { |
| 199 | UNSUPPORTED("aichf642t6sfhx7rmhieyx9ds"); // output_langname_job->next = zmalloc(sizeof(GVJ_t)); |
| 200 | UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } |
| 201 | UNSUPPORTED("35r3hch2gu4t2k2cwybo9zg6"); // output_langname_job = output_langname_job->next; |
| 202 | UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } |
| 203 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 204 | UNSUPPORTED("89g459qqeg1bo774abkcni1lt"); // output_langname_job->output_langname = name; |
| 205 | UNSUPPORTED("d5cmms7hxpqitvmv6grhco7a9"); // output_langname_job->gvc = gvc; |
| 206 | UNSUPPORTED("9j8seo67dfwx0qo2t0owy5ss3"); // /* load it now to check that it exists */ |
| 207 | UNSUPPORTED("9c0elq6msr2m6yc2h6gmdodzo"); // if (gvplugin_load(gvc, API_device, name)) |
| 208 | UNSUPPORTED("bp2y18pqq5n09006utwifdyxo"); // return NOT(0); |
| 209 | UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0; |
| 210 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 211 | |
| 212 | throw new UnsupportedOperationException(); |
| 213 | } |
| 214 | |
| 215 | |
| 216 | |
| 217 | |
| 218 | //3 e8pwlap2rcl8cv9ofdfafjvno |
| 219 | // GVJ_t *gvjobs_first(GVC_t * gvc) |
| 220 | public static Object gvjobs_first(Object... arg) { |
| 221 | UNSUPPORTED("ai610ye6dr7wwxocu8id01h8k"); // GVJ_t *gvjobs_first(GVC_t * gvc) |
| 222 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 223 | UNSUPPORTED("5v9dnf37wu1p4ydy7jec1vsdp"); // return (gvc->job = gvc->jobs); |
| 224 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 225 | |
| 226 | throw new UnsupportedOperationException(); |
| 227 | } |
| 228 | |
| 229 | |
| 230 | |
| 231 | |
| 232 | //3 306mhd1v2f9ubaamkhjsvd8qp |
| 233 | // GVJ_t *gvjobs_next(GVC_t * gvc) |
| 234 | public static Object gvjobs_next(Object... arg) { |
| 235 | UNSUPPORTED("cl5sw4h8jxwka40ye3iclxeye"); // GVJ_t *gvjobs_next(GVC_t * gvc) |
| 236 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 237 | UNSUPPORTED("a78h71dhtlrepn6wv5z3kjyua"); // GVJ_t *job = gvc->job->next; |
| 238 | UNSUPPORTED("4ugafys4138jbf2cwbngr1rmf"); // if (job) { |
| 239 | UNSUPPORTED("c2ja6xkql14tp4abs4rjoczap"); // /* if langname not specified, then repeat previous value */ |
| 240 | UNSUPPORTED("9pe1w1tplonkmhbh6oxtgvk0m"); // if (!job->output_langname) |
| 241 | UNSUPPORTED("7meekiuuvso01zylb5f9yhxhn"); // job->output_langname = gvc->job->output_langname; |
| 242 | UNSUPPORTED("b4q9cevqaqfulbq7fxg62domu"); // /* if filename not specified, then leave NULL to indicate stdout */ |
| 243 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 244 | UNSUPPORTED("1qgmwakcokc36ya4c4e9x0slz"); // return (gvc->job = job); |
| 245 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 246 | |
| 247 | throw new UnsupportedOperationException(); |
| 248 | } |
| 249 | |
| 250 | |
| 251 | |
| 252 | |
| 253 | //3 792fo3o9fsxvoz433ctlnc4fc |
| 254 | // gv_argvlist_t *gvNEWargvlist(void) |
| 255 | public static Object gvNEWargvlist(Object... arg) { |
| 256 | UNSUPPORTED("6zo529p4sml722e6ll9gxyt7l"); // gv_argvlist_t *gvNEWargvlist(void) |
| 257 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 258 | UNSUPPORTED("2pnc0kxk2813dwiy45sgvw48"); // return (gv_argvlist_t*)zmalloc(sizeof(gv_argvlist_t)); |
| 259 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 260 | |
| 261 | throw new UnsupportedOperationException(); |
| 262 | } |
| 263 | |
| 264 | |
| 265 | |
| 266 | |
| 267 | //3 1vrgzg9tosokrv5epywnpck6p |
| 268 | // void gv_argvlist_set_item(gv_argvlist_t *list, int index, char *item) |
| 269 | public static Object gv_argvlist_set_item(Object... arg) { |
| 270 | UNSUPPORTED("8bargfhdrutc1xv5dwu2chxuv"); // void gv_argvlist_set_item(gv_argvlist_t *list, int index, char *item) |
| 271 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 272 | UNSUPPORTED("3fw3kxowrs2t9drym6ls89uy5"); // if (index >= list->alloc) { |
| 273 | UNSUPPORTED("1uc5g7t5w5e108ipxs91oph56"); // list->alloc = index + 10; |
| 274 | UNSUPPORTED("c5yzzd37ss3fgbr0b3a0aq6z7"); // list->argv = grealloc(list->argv, (list->alloc)*(sizeof(char*))); |
| 275 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 276 | UNSUPPORTED("bl6ru62mgdiir5470o069hfd1"); // list->argv[index] = item; |
| 277 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 278 | |
| 279 | throw new UnsupportedOperationException(); |
| 280 | } |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | //3 d2b5k3hlhil0de7fa1hu7l94h |
| 286 | // void gv_argvlist_reset(gv_argvlist_t *list) |
| 287 | public static Object gv_argvlist_reset(Object... arg) { |
| 288 | UNSUPPORTED("850opb4ojq26l924543kc1gok"); // void gv_argvlist_reset(gv_argvlist_t *list) |
| 289 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 290 | UNSUPPORTED("doj8fyzeqsl0r4wgj9lh430ox"); // if (list->argv) |
| 291 | UNSUPPORTED("xlt093t6b7j3pnv9hu2vt66f"); // free(list->argv); |
| 292 | UNSUPPORTED("ap2mjy4r8fpmayf9uuxp4jf89"); // list->argv = NULL; |
| 293 | UNSUPPORTED("4sqkjh7d3c62r110mi2a83svb"); // list->alloc = 0; |
| 294 | UNSUPPORTED("7ro2etssmfzc4a1isfbbx6eed"); // list->argc = 0; |
| 295 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 296 | |
| 297 | throw new UnsupportedOperationException(); |
| 298 | } |
| 299 | |
| 300 | |
| 301 | |
| 302 | |
| 303 | //3 5mgwysotnvkta4thc1xg5fi54 |
| 304 | // void gv_argvlist_free(gv_argvlist_t *list) |
| 305 | public static Object gv_argvlist_free(Object... arg) { |
| 306 | UNSUPPORTED("ea3c0vjqyvj4dxsejfvmh35gb"); // void gv_argvlist_free(gv_argvlist_t *list) |
| 307 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 308 | UNSUPPORTED("doj8fyzeqsl0r4wgj9lh430ox"); // if (list->argv) |
| 309 | UNSUPPORTED("xlt093t6b7j3pnv9hu2vt66f"); // free(list->argv); |
| 310 | UNSUPPORTED("77gdlnaiah901ax125wm0qh80"); // free(list); |
| 311 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 312 | |
| 313 | throw new UnsupportedOperationException(); |
| 314 | } |
| 315 | |
| 316 | |
| 317 | |
| 318 | |
| 319 | //3 2wvv6fkvq52bzf9nxkfkegeaq |
| 320 | // void gvjobs_delete(GVC_t * gvc) |
| 321 | public static Object gvjobs_delete(Object... arg) { |
| 322 | UNSUPPORTED("crqxrbflqt2g954zn4tcroo9w"); // void gvjobs_delete(GVC_t * gvc) |
| 323 | UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { |
| 324 | UNSUPPORTED("97ra1ormlmahj8vge2eunl30v"); // GVJ_t *job, *j; |
| 325 | UNSUPPORTED("3pmzbzpokb2qak70z519miwt2"); // job = gvc->jobs; |
| 326 | UNSUPPORTED("eaj0v3cv4vpxfa9s4a9encgvb"); // while ((j = job)) { |
| 327 | UNSUPPORTED("c3q9r9u9bkmzersvod3mnf57w"); // job = job->next; |
| 328 | UNSUPPORTED("1cdz5buzwqhtha92lvuuza7np"); // gv_argvlist_reset(&(j->selected_obj_attributes)); |
| 329 | UNSUPPORTED("5zd7n7b1fs7wf1p5gxhwc18tq"); // gv_argvlist_reset(&(j->selected_obj_type_name)); |
| 330 | UNSUPPORTED("7v6blrn64uyfyf00wiegwiolr"); // if (j->active_tooltip) |
| 331 | UNSUPPORTED("13harrcujsq9tfn9l9si9smra"); // free(j->active_tooltip); |
| 332 | UNSUPPORTED("3szbju1px4sq4hkqtrrzspao7"); // if (j->selected_href) |
| 333 | UNSUPPORTED("cpy4ywcq3ss7v5o2ymb3x26bb"); // free(j->selected_href); |
| 334 | UNSUPPORTED("6vry3qvmafu1jm517mnutt1f7"); // free(j); |
| 335 | UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } |
| 336 | UNSUPPORTED("4q0duus5k3hueqb940j1h6tc0"); // gvc->jobs = gvc->job = gvc->active_jobs = output_filename_job = output_langname_job = |
| 337 | UNSUPPORTED("5miekn5jg1682zqyvjvhc1h25"); // NULL; |
| 338 | UNSUPPORTED("77k27xankrzoe9n1nj8zbr2j0"); // gvc->common.viewNum = 0; |
| 339 | UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } |
| 340 | |
| 341 | throw new UnsupportedOperationException(); |
| 342 | } |
| 343 | |
| 344 | |
| 345 | } |