Lines Matching defs:rev
808 * <0: rev is < current rev
809 * 0: rev == current rev
810 * >0: rev > current rev
816 smb_revision_t current_rev, rev;
824 smb_str2rev(revstr, &rev);
826 if (rev.rev_major == current_rev.rev_major)
827 return (rev.rev_minor - current_rev.rev_minor);
829 return (rev.rev_major - current_rev.rev_major);
838 smb_str2rev(char *str, smb_revision_t *rev)
846 rev->rev_major = atoi(str);
847 rev->rev_minor = 0;
851 rev->rev_major = atoi(buf);
853 rev->rev_minor = 0;
855 rev->rev_minor = atoi(++p);