Lines Matching defs:proto

80  * would have modules with names of the form libshare_<proto>.so.
88 struct sa_proto_plugin *proto;
141 proto = (struct sa_proto_plugin *)
143 if (proto == NULL) {
149 proto->plugin_ops = plugin_ops;
150 proto->plugin_handle = dlhandle;
152 proto->plugin_next = sap_proto_list;
153 sap_proto_list = proto;
241 * find_protocol(proto)
248 find_protocol(char *proto)
255 if (proto != NULL) {
257 if (strcmp(proto, sa_proto_handle.sa_proto[i]) == 0) {
268 * sa_proto_share(proto, share)
274 sa_proto_share(char *proto, sa_share_t share)
276 struct sa_plugin_ops *ops = find_protocol(proto);
285 * sa_proto_unshare(proto, share)
291 sa_proto_unshare(sa_share_t share, char *proto, char *path)
293 struct sa_plugin_ops *ops = find_protocol(proto);
302 * sa_proto_share_resource(char *proto, sa_resource_t resource)
311 sa_proto_share_resource(char *proto, sa_resource_t resource)
313 struct sa_plugin_ops *ops = find_protocol(proto);
326 * sa_proto_unshare_resource(char *proto, sa_resource_t resource)
333 sa_proto_unshare_resource(char *proto, sa_resource_t resource)
335 struct sa_plugin_ops *ops = find_protocol(proto);
348 * sa_proto_valid_prop(handle, proto, prop, opt)
354 sa_proto_valid_prop(sa_handle_t handle, char *proto, sa_property_t prop,
357 struct sa_plugin_ops *ops = find_protocol(proto);
366 * sa_proto_valid_space(proto, space)
368 * Check if space is valid optionspace for proto.
372 sa_proto_valid_space(char *proto, char *token)
374 struct sa_plugin_ops *ops = find_protocol(proto);
383 * sa_proto_space_alias(proto, space)
389 sa_proto_space_alias(char *proto, char *space)
391 struct sa_plugin_ops *ops = find_protocol(proto);
400 * sa_proto_security_prop(proto, token)
407 sa_proto_security_prop(char *proto, char *token)
409 struct sa_plugin_ops *ops = find_protocol(proto);
418 * sa_proto_legacy_opts(proto, grouup, options)
425 sa_proto_legacy_opts(char *proto, sa_group_t group, char *options)
427 struct sa_plugin_ops *ops = find_protocol(proto);
436 * sa_proto_legacy_format(proto, group, hier)
443 sa_proto_legacy_format(char *proto, sa_group_t group, int hier)
445 struct sa_plugin_ops *ops = find_protocol(proto);
464 * sa_proto_get_properties(proto)
467 * protocol. These are usually in /etc/dfs/<proto> and related files,
472 sa_proto_get_properties(char *proto)
474 struct sa_plugin_ops *ops = find_protocol(proto);
483 * sa_proto_set_property(proto, prop)
489 sa_proto_set_property(char *proto, sa_property_t prop)
491 struct sa_plugin_ops *ops = find_protocol(proto);
500 * sa_valid_protocol(proto)
507 sa_valid_protocol(char *proto)
509 struct sa_plugin_ops *ops = find_protocol(proto);
518 sa_get_protocol_status(char *proto)
520 struct sa_plugin_ops *ops = find_protocol(proto);
523 ret = ops->sa_get_proto_status(proto);
528 * sa_proto_update_legacy(proto, share)
535 sa_proto_update_legacy(char *proto, sa_share_t share)
537 struct sa_plugin_ops *ops = find_protocol(proto);
548 * sa_delete_legacy(proto, share)
554 sa_proto_delete_legacy(char *proto, sa_share_t share)
556 struct sa_plugin_ops *ops = find_protocol(proto);
563 if (proto != NULL)
572 * sa_proto_delete_section(proto, section)
579 sa_proto_delete_section(char *proto, char *section)
581 struct sa_plugin_ops *ops = find_protocol(proto);
588 if (proto != NULL)
603 sa_proto_change_notify(sa_share_t share, char *proto)
605 struct sa_plugin_ops *ops = find_protocol(proto);
611 } else if (proto == NULL) {
625 sa_proto_notify_resource(sa_resource_t resource, char *proto)
627 struct sa_plugin_ops *ops = find_protocol(proto);
633 } else if (proto == NULL) {
649 sa_proto_get_featureset(char *proto)
651 struct sa_plugin_ops *ops = find_protocol(proto);
676 sa_proto_get_transients(sa_handle_t handle, char *proto)
678 struct sa_plugin_ops *ops = find_protocol(proto);
689 * sa_proto_rename_resource(sa_handle_t, proto, sa_resource_t, newname)
697 sa_proto_rename_resource(sa_handle_t handle, char *proto,
700 struct sa_plugin_ops *ops = find_protocol(proto);