Lines Matching defs:ocstr
108 * @param ocstr if non-NULL then copy str pointer
110 * if set to NULL it is assumed that ocstr is NULL-terminated.
118 snmp_mib2_set_syscontact(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize)
120 if (ocstr != NULL) {
121 syscontact = ocstr;
122 syscontact_wr = ocstr;
134 snmp_mib2_set_syscontact_readonly(const u8_t *ocstr, const u16_t *ocstrlen)
136 if (ocstr != NULL) {
137 syscontact = ocstr;
150 * @param ocstr if non-NULL then copy str pointer
152 * if set to NULL it is assumed that ocstr is NULL-terminated.
160 snmp_mib2_set_sysname(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize)
162 if (ocstr != NULL) {
163 sysname = ocstr;
164 sysname_wr = ocstr;
176 snmp_mib2_set_sysname_readonly(const u8_t *ocstr, const u16_t *ocstrlen)
178 if (ocstr != NULL) {
179 sysname = ocstr;
191 * @param ocstr if non-NULL then copy str pointer
193 * if set to NULL it is assumed that ocstr is NULL-terminated.
201 snmp_mib2_set_syslocation(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize)
203 if (ocstr != NULL) {
204 syslocation = ocstr;
205 syslocation_wr = ocstr;
217 snmp_mib2_set_syslocation_readonly(const u8_t *ocstr, const u16_t *ocstrlen)
219 if (ocstr != NULL) {
220 syslocation = ocstr;